Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extend json report
Browse files Browse the repository at this point in the history
szczecha committed Jan 28, 2025
1 parent bdec527 commit 1acbca7
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/run-pw-tests/action.yml
Original file line number Diff line number Diff line change
@@ -82,6 +82,8 @@ runs:
WORKERS: ${{ inputs.PW_WORKERS }}
RETRIES: ${{ inputs.PW_RETRIES }}
PROJECT: ${{ inputs.PROJECT }}
BRANCH_NAME: ${{ inputs.BRANCH_NAME }}
SALEOR_CLOUD_SERVICE: ${{ inputs.SALEOR_CLOUD_SERVICE }}

run: |
PROJECTS=($PROJECT)
2 changes: 2 additions & 0 deletions .github/workflows/pr-automation.yml
Original file line number Diff line number Diff line change
@@ -202,6 +202,8 @@ jobs:
PW_RETRIES: ${{ vars.PW_RETRIES }}
ACCOUNTS: ${{ needs.deploy-dashboard.outputs.ACCOUNTS }}
E2E_ENCODE_PASS: ${{ secrets.E2E_ENCODE_PASS }}
BRANCH_NAME: ${{ github.ref}}
SALEOR_CLOUD_SERVICE: ${{ steps.cloud_variables.outputs.SALEOR_CLOUD_SERVICE }}

- name: submit-results-to-testmo
if: always()
2 changes: 2 additions & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
@@ -44,6 +44,8 @@ export default defineConfig({
outputFile: `ctrf-report-${shardNumber}.json`, // Optional: Output file name. Defaults to 'ctrf-report.json'.
minimal: true, // Optional: Generate a minimal report. Defaults to 'false'. Overrides screenshot and testType when set to true
appName: 'Saleor Dashboard', // Optional: Specify the name of the application under test.
branchName: env.BRANCH_NAME || '', // Optional: Specify the branch name.
testEnvironment: env.SALEOR_CLOUD_SERVICE || '' // Optional: Specify the test environment (e.g. staging, production).
}]]
: [["html"], ["list"]],
expect: { timeout: 10 * 1000 },

0 comments on commit 1acbca7

Please sign in to comment.