From 03e8088238783638523123a673cfeef92cddcbdf Mon Sep 17 00:00:00 2001 From: Lucas Berger Date: Thu, 11 Jun 2026 15:43:09 -0400 Subject: [PATCH] fix(08-03): call pwa test:e2e directly so --reporter forwards cleanly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Run #10 cleared global-setup but playwright errored 'No tests found': `pnpm test:e2e -- --reporter=list,html` routes through two pnpm script layers (root→pwa) and the `--` survives into `playwright test -- --reporter=list,html`, where playwright treats --reporter as a test-file filter. Call the pwa script directly and append the flag without `--` (validated: 58 specs list vs 0). --- .gitea/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1460e78..0f457cd 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -290,8 +290,12 @@ jobs: echo "API ready at :3000" # Run the Phase 7 harness across both profiles; preserve its exit code, always kill the API. + # Call the pwa test:e2e script DIRECTLY (single pnpm layer) and append --reporter without a + # `--` separator: `pnpm test:e2e -- ` double-forwards the `--` into + # `playwright test -- `, where playwright treats --reporter as a test-file filter → + # "No tests found" (run #10). The filtered single-layer form forwards the flag cleanly. set +e - pnpm test:e2e -- --reporter=list,html + pnpm --filter @familysync/pwa test:e2e --reporter=list,html rc=$? kill "$API_PID" 2>/dev/null || true exit $rc