Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
abdurrahman-ledger committed Sep 23, 2024
1 parent 10c16f6 commit 859c6fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-ui-e2e-only-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
strategy:
fail-fast: false
matrix:
shardIndex: [1]
shardTotal: [1]
shardIndex: [1, 2, 3]
shardTotal: [3]
steps:
- uses: actions/checkout@v4
with:
Expand Down
5 changes: 3 additions & 2 deletions apps/ledger-live-desktop/tests/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ const config: PlaywrightTestConfig = {
globalTeardown: require.resolve("./utils/global.teardown"),
use: {
ignoreHTTPSErrors: true,
screenshot: process.env.CI ? "only-on-failure" : "off",
screenshot: "on",
trace: "retain-on-failure",
},
forbidOnly: !!process.env.CI,
preserveOutput: process.env.CI ? "failures-only" : "always",
maxFailures: process.env.CI ? 5 : undefined,
reportSlowTests: process.env.CI ? { max: 0, threshold: 60000 } : null,
fullyParallel: true,
workers: "100%", // NOTE: 'macos-latest' and 'windows-latest' can't run 3 concurrent workers
workers: "20%", // NOTE: 'macos-latest' and 'windows-latest' can't run 3 concurrent workers
retries: 0, // We explicitly want to disable retries to be strict about avoiding flaky tests. (see https://github.com/LedgerHQ/ledger-live/pull/4918)
reporter: process.env.CI
? [
Expand Down

0 comments on commit 859c6fd

Please sign in to comment.