test(desktop): avoid recording passing smoke tests

Signed-off-by: loganj <loganj@squareup.com>
This commit is contained in:
loganj
2026-08-19 17:42:14 +00:00
parent 4cd8544f2b
commit 6c82584672
2 changed files with 3 additions and 3 deletions

View File

@@ -234,7 +234,7 @@ jobs:
strategy:
fail-fast: false
matrix:
shard: [1, 2, 3, 4, 5, 6, 7, 8]
shard: [1, 2, 3, 4]
permissions:
contents: read
steps:
@@ -274,7 +274,7 @@ jobs:
- name: Desktop E2E build
run: pnpm -C desktop build:e2e
- name: Desktop smoke e2e
run: cd desktop && pnpm exec playwright test --project=smoke --shard=${{ matrix.shard }}/8
run: cd desktop && pnpm exec playwright test --project=smoke --shard=${{ matrix.shard }}/4
- name: Summarize flaky tests
if: ${{ !cancelled() }}
run: node scripts/summarize-flaky-tests.mjs playwright-report.json "Desktop Smoke E2E (${{ matrix.shard }})"

View File

@@ -14,7 +14,7 @@ export default defineConfig({
baseURL: "http://127.0.0.1:4173",
screenshot: "only-on-failure",
trace: "on-first-retry",
video: "retain-on-failure",
video: "on-first-retry",
},
projects: [
{