diff --git a/.github/workflows/test-ui-e2e-only-desktop.yml b/.github/workflows/test-ui-e2e-only-desktop.yml index 91a4633a25a4..77acd6dc7ef6 100644 --- a/.github/workflows/test-ui-e2e-only-desktop.yml +++ b/.github/workflows/test-ui-e2e-only-desktop.yml @@ -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: diff --git a/apps/ledger-live-desktop/tests/playwright.config.ts b/apps/ledger-live-desktop/tests/playwright.config.ts index 9a0c5d960811..f60710ce72aa 100644 --- a/apps/ledger-live-desktop/tests/playwright.config.ts +++ b/apps/ledger-live-desktop/tests/playwright.config.ts @@ -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 ? [