$ cd apps/admin && pnpm build >/dev/null 2>&1 && ZOEN_EVIDENCE_TASK=WEB-200 pnpm exec playwright test --reporter=line # cwd /Users/king/Desktop/Workspace/SRO/zoen # exit 1 Running 33 tests using 2 workers [1/33] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as developer [2/33] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as owner [3/33] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as qa [4/33] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as gm [5/33] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as moderator [6/33] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as support [7/33] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as marketing [8/33] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as analyst [9/33] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as read_only [10/33] [desktop] › tests/e2e/login.spec.ts:6:3 › 2-step sign-in › @auth wrong password, wrong code, then the right code lands on the deep link with an httpOnly session [11/33] [desktop] › tests/e2e/shell.spec.ts:12:3 › console shell (owner) › @shell overview renders inside the shell with no errors [12/33] [desktop] › tests/e2e/shell.spec.ts:23:3 › console shell (owner) › @shell desktop sidebar collapses and remembers it; theme switches and persists 1) [desktop] › tests/e2e/login.spec.ts:6:3 › 2-step sign-in › @auth wrong password, wrong code, then the right code lands on the deep link with an httpOnly session Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 4 - Array [] + Array [ + "404 http://127.0.0.1:4351/system/health", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + ] 27 | for (const c of session) expect(c.httpOnly, c.name).toBe(true); 28 | // the 401/redirect during sign-in are expected; nothing else may fail > 29 | expect(health.errors.filter((e) => !/login|401/.test(e))).toEqual([]); | ^ 30 | }); 31 | }); 32 | at /Users/king/Desktop/Workspace/SRO/zoen/apps/admin/tests/e2e/login.spec.ts:29:63 Error Context: ../../logs/evidence/pw-artifacts/admin/login-2-step-sign-in-auth--ccabd-nk-with-an-httpOnly-session-desktop/error-context.md attachment #2: trace (application/zip) ───────────────────────────────────────────────────────── ../../logs/evidence/pw-artifacts/admin/login-2-step-sign-in-auth--ccabd-nk-with-an-httpOnly-session-desktop/trace.zip Usage: pnpm exec playwright show-trace ../../logs/evidence/pw-artifacts/admin/login-2-step-sign-in-auth--ccabd-nk-with-an-httpOnly-session-desktop/trace.zip ──────────────────────────────────────────────────────────────────────────────────────────────── [13/33] [desktop] › tests/e2e/smoke.spec.ts:4:1 › @smoke signed-out visitors land on the sign-in page, which is not indexable [14/33] [desktop] › tests/e2e/shell.spec.ts:46:3 › console shell (owner) › @shell ⌘K finds a module and navigates [15/33] [desktop] › tests/e2e/smoke.spec.ts:16:1 › @smoke the BFF refuses signed-out reads [16/33] [desktop] › tests/e2e/shell.spec.ts:58:3 › console shell (owner) › @shell phone: bottom tabs and the navigation drawer [17/33] [desktop] › tests/e2e/shell.spec.ts:75:3 › permissions shape the navigation › @rbac QA sees build tools but not website, players or system pages [18/33] [tablet] › tests/e2e/login.spec.ts:6:3 › 2-step sign-in › @auth wrong password, wrong code, then the right code lands on the deep link with an httpOnly session [19/33] [tablet] › tests/e2e/smoke.spec.ts:4:1 › @smoke signed-out visitors land on the sign-in page, which is not indexable [20/33] [tablet] › tests/e2e/shell.spec.ts:12:3 › console shell (owner) › @shell overview renders inside the shell with no errors [21/33] [tablet] › tests/e2e/smoke.spec.ts:16:1 › @smoke the BFF refuses signed-out reads [22/33] [tablet] › tests/e2e/shell.spec.ts:23:3 › console shell (owner) › @shell desktop sidebar collapses and remembers it; theme switches and persists [23/33] [tablet] › tests/e2e/shell.spec.ts:46:3 › console shell (owner) › @shell ⌘K finds a module and navigates [24/33] [mobile] › tests/e2e/login.spec.ts:6:3 › 2-step sign-in › @auth wrong password, wrong code, then the right code lands on the deep link with an httpOnly session [25/33] [tablet] › tests/e2e/shell.spec.ts:58:3 › console shell (owner) › @shell phone: bottom tabs and the navigation drawer [26/33] [tablet] › tests/e2e/shell.spec.ts:75:3 › permissions shape the navigation › @rbac QA sees build tools but not website, players or system pages [27/33] [mobile] › tests/e2e/shell.spec.ts:12:3 › console shell (owner) › @shell overview renders inside the shell with no errors [28/33] [mobile] › tests/e2e/shell.spec.ts:23:3 › console shell (owner) › @shell desktop sidebar collapses and remembers it; theme switches and persists 2) [mobile] › tests/e2e/login.spec.ts:6:3 › 2-step sign-in › @auth wrong password, wrong code, then the right code lands on the deep link with an httpOnly session Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 4 - Array [] + Array [ + "404 http://127.0.0.1:4351/system/health", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + ] 27 | for (const c of session) expect(c.httpOnly, c.name).toBe(true); 28 | // the 401/redirect during sign-in are expected; nothing else may fail > 29 | expect(health.errors.filter((e) => !/login|401/.test(e))).toEqual([]); | ^ 30 | }); 31 | }); 32 | at /Users/king/Desktop/Workspace/SRO/zoen/apps/admin/tests/e2e/login.spec.ts:29:63 Error Context: ../../logs/evidence/pw-artifacts/admin/login-2-step-sign-in-auth--ccabd-nk-with-an-httpOnly-session-mobile/error-context.md attachment #2: trace (application/zip) ───────────────────────────────────────────────────────── ../../logs/evidence/pw-artifacts/admin/login-2-step-sign-in-auth--ccabd-nk-with-an-httpOnly-session-mobile/trace.zip Usage: pnpm exec playwright show-trace ../../logs/evidence/pw-artifacts/admin/login-2-step-sign-in-auth--ccabd-nk-with-an-httpOnly-session-mobile/trace.zip ──────────────────────────────────────────────────────────────────────────────────────────────── [29/33] [mobile] › tests/e2e/shell.spec.ts:46:3 › console shell (owner) › @shell ⌘K finds a module and navigates [30/33] [mobile] › tests/e2e/shell.spec.ts:58:3 › console shell (owner) › @shell phone: bottom tabs and the navigation drawer [31/33] [mobile] › tests/e2e/smoke.spec.ts:4:1 › @smoke signed-out visitors land on the sign-in page, which is not indexable [32/33] [mobile] › tests/e2e/shell.spec.ts:75:3 › permissions shape the navigation › @rbac QA sees build tools but not website, players or system pages [33/33] [mobile] › tests/e2e/smoke.spec.ts:16:1 › @smoke the BFF refuses signed-out reads 2 failed [desktop] › tests/e2e/login.spec.ts:6:3 › 2-step sign-in › @auth wrong password, wrong code, then the right code lands on the deep link with an httpOnly session [mobile] › tests/e2e/login.spec.ts:6:3 › 2-step sign-in › @auth wrong password, wrong code, then the right code lands on the deep link with an httpOnly session 9 skipped 22 passed (22.6s)