Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,19 +329,22 @@ jobs:
# .e2e-cache (which CI doesn't cache anyway). The .build cache restored
# above still warms compilation.
#
# Three runs: the default config (counter/router/sw/edgecases servers),
# then the RegionDemo and SwiflowUIDemo demos via their own configs — they
# collide on port :3004 so can't share the default config's parallel
# servers, and run sequentially here. All three run regardless of an
# earlier failure (status accumulates) so one red spec doesn't hide the
# rest. TodoCRUD needs the real backend → separate run-e2e-backend job.
# Four runs: the default config (counter/router/sw/edgecases servers),
# then RegionDemo, SwiflowUIDemo, and GridBoard via their own configs —
# Region/SwiflowUI collide on port :3004 so can't share the default
# config's parallel servers; GridBoard (:3009) is the per-frame-leak
# soak surface and needs its long boot timeout. All run regardless of
# an earlier failure (status accumulates) so one red spec doesn't hide
# the rest. TodoCRUD needs the real backend → separate run-e2e-backend
# job.
env:
SWIFLOW_E2E_CLEAN: "1"
run: |
status=0
npm test || status=1
npm run test:regions || status=1
npm run test:swiflowui || status=1
npm run test:gridboard || status=1
exit $status

- name: Upload Playwright trace on failure
Expand Down
1 change: 1 addition & 0 deletions Tests/playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"test:clean": "SWIFLOW_E2E_CLEAN=1 playwright test",
"test:counter": "playwright test --config=playwright.counter.config.ts",
"test:edgecases": "playwright test --config=playwright.edgecases.config.ts",
"test:gridboard": "playwright test --config=playwright.gridboard.config.ts",
"test:regions": "playwright test --config=playwright.regions.config.ts",
"test:router": "playwright test --config=playwright.router.config.ts",
"test:sw": "playwright test --config=playwright.sw.config.ts",
Expand Down
12 changes: 8 additions & 4 deletions Tests/playwright/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,14 @@ export default defineConfig({
// test:swiflowui, and the run-e2e-backend job for todocrud). Without this
// ignore they'd run against :3000 (counter) and fail "element not found".
testIgnore: [
"region.spec.ts", // RegionDemo — npm run test:regions (:3004)
"datatable.spec.ts", // SwiflowUIDemo — npm run test:swiflowui
"dropdown.spec.ts", // SwiflowUIDemo — npm run test:swiflowui
"todocrud.spec.ts", // real Bun+SQLite backend — run-e2e-backend job
"region.spec.ts", // RegionDemo — npm run test:regions (:3004)
"datatable.spec.ts", // SwiflowUIDemo — npm run test:swiflowui
"dropdown.spec.ts", // SwiflowUIDemo — npm run test:swiflowui
"overlay.spec.ts", // SwiflowUIDemo — npm run test:swiflowui
"tabs.spec.ts", // SwiflowUIDemo — npm run test:swiflowui
"catalog-nav.spec.ts", // SwiflowUIDemo — npm run test:swiflowui
"gridboard.spec.ts", // GridBoard — npm run test:gridboard (:3009)
"todocrud.spec.ts", // real Bun+SQLite backend — run-e2e-backend job
],
fullyParallel: false,
reporter: process.env.CI ? "github" : "list",
Expand Down
Loading