Skip to content

Commit

Permalink
[QAA-206] Increase max failure to speculos test only (#7899)
Browse files Browse the repository at this point in the history
test: increase max failure to speculos test only
  • Loading branch information
abdurrahman-ledger committed Sep 25, 2024
1 parent 8e2d700 commit 8981743
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-ui-e2e-only-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
export COINAPPS=$PWD/coin-apps
export MOCK=0
if [ "${{ inputs.invert_filter }}" = true ]; then invert_filter="-invert"; fi
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- pnpm desktop test:playwright:speculos ${INPUTS_TEST_FILTER:+--grep$invert_filter} "${{ inputs.test_filter }}" --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- pnpm desktop test:playwright:speculos --max-failures 50 ${INPUTS_TEST_FILTER:+--grep$invert_filter} "${{ inputs.test_filter }}" --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
env:
INPUTS_TEST_FILTER: ${{ inputs.test_filter }}
SEED: ${{ secrets.SEED_QAA_B2C }}
Expand Down
2 changes: 1 addition & 1 deletion apps/ledger-live-desktop/tests/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const config: PlaywrightTestConfig = {
},
forbidOnly: !!process.env.CI,
preserveOutput: process.env.CI ? "failures-only" : "always",
maxFailures: process.env.CI ? 10 : undefined,
maxFailures: process.env.CI ? 5 : undefined,
reportSlowTests: process.env.CI ? { max: 0, threshold: 60000 } : null,
fullyParallel: true,
workers: "50%", // NOTE: 'macos-latest' and 'windows-latest' can't run 3 concurrent workers
Expand Down

0 comments on commit 8981743

Please sign in to comment.