Dashboard Team & User permissions PRE env #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dashboard Team & User permissions PRE env | |
on: | |
workflow_dispatch: | |
inputs: | |
qase_api_base_url: | |
description: 'Qase API URL' | |
required: true | |
qase_report: | |
description: 'Enabled/disabled reporting to Qase' | |
required: true | |
qase_project_code: | |
description: 'Qase project code' | |
required: true | |
qase_run_id: | |
description: 'Qase Run ID' | |
required: true | |
qase_run_complete: | |
description: 'Complete Qase Run' | |
required: true | |
env: | |
QASE_API_BASE_URL: ${{ inputs.qase_api_base_url }} | |
QASE_REPORT: ${{ inputs.qase_report }} | |
QASE_PROJECT_CODE: ${{ inputs.qase_project_code }} | |
QASE_RUN_ID: ${{ inputs.qase_run_id }} | |
QASE_RUN_COMPLETE: ${{ inputs.qase_run_complete }} | |
QASE_API_TOKEN: ${{ secrets.QASE_API_TOKEN }} | |
jobs: | |
tests_chromium: | |
environment: PRE | |
runs-on: windows-latest | |
steps: | |
- uses: qase-tms/qase-link-run@main | |
env: | |
QASE_API_TOKEN: ${{ env.QASE_API_TOKEN }} | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 22 | |
- name: Install dependencies | |
run: npm ci | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Run regression tests for chromium | |
env: | |
BASE_URL: ${{ secrets.BASE_URL }} | |
LOGIN_EMAIL: ${{ secrets.SECOND_EMAIL }} | |
SECOND_EMAIL: ${{ secrets.LOGIN_EMAIL }} | |
LOGIN_PWD: ${{ secrets.LOGIN_PWD }} | |
GITHUB_RUN_ID: ${{ github.run.id }} | |
REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }} | |
CLIENT_ID: ${{ secrets.CLIENT_ID }} | |
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }} | |
GMAIL_NAME: ${{ secrets.GMAIL_NAME }} | |
run: npx playwright test --project=chrome -gv 'PERF' ./tests/dashboard/dashboard-teams.spec.js | |
- name: Upload Playwright Report | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report-chromium | |
path: playwright-report/ | |
retention-days: 30 |