$ cd apps/admin && pnpm build >/dev/null 2>&1 && ZOEN_EVIDENCE_TASK=WEB-201 pnpm exec playwright test --reporter=line # cwd /Users/king/Desktop/Workspace/SRO/zoen # exit 1 Running 54 tests using 2 workers [1/54] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as owner [2/54] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as developer [3/54] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as qa [4/54] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as gm [5/54] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as moderator [6/54] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as support [7/54] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as marketing [8/54] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as analyst [9/54] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as read_only [10/54] [desktop] › tests/e2e/shell.spec.ts:12:3 › console shell (owner) › @shell overview renders inside the shell with no errors [11/54] [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 [12/54] [desktop] › tests/e2e/shell.spec.ts:23:3 › console shell (owner) › @shell desktop sidebar collapses and remembers it; theme switches and persists [13/54] [desktop] › tests/e2e/shell.spec.ts:46:3 › console shell (owner) › @shell ⌘K finds a module and navigates [14/54] [desktop] › tests/e2e/shell.spec.ts:58:3 › console shell (owner) › @shell phone: bottom tabs and the navigation drawer [15/54] [desktop] › tests/e2e/shell.spec.ts:75:3 › permissions shape the navigation › @rbac QA sees build tools but not website, players or system pages [16/54] [desktop] › tests/e2e/smoke.spec.ts:4:1 › @smoke signed-out visitors land on the sign-in page, which is not indexable [17/54] [desktop] › tests/e2e/smoke.spec.ts:16:1 › @smoke the BFF refuses signed-out reads [18/54] [desktop] › tests/e2e/website.spec.ts:11:3 › website module (owner) › @website draft → preview → review → publish → archive a post [19/54] [desktop] › tests/e2e/website.spec.ts:41:3 › website module (owner) › @website FAQ: add, publish and delete a question [20/54] [desktop] › tests/e2e/website.spec.ts:59:3 › website module (owner) › @website status: degrade the website component, then restore it 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 Test timeout of 60000ms exceeded. Error: page.waitForURL: Test timeout of 60000ms exceeded. =========================== logs =========================== waiting for navigation until "load" navigated to "http://127.0.0.1:4351/login/enroll" ============================================================ 22 | await expect(page.locator('form [role=alert]')).toContainText('did not work'); 23 | await page.getByLabel('6-digit code').fill(totp(a.totpSecret)); > 24 | await page.waitForURL(/\/system\/health/); | ^ 25 | const session = (await context.cookies()).filter((c) => c.name.startsWith('zoen-admin-auth')); 26 | expect(session.length).toBeGreaterThan(0); 27 | for (const c of session) expect(c.httpOnly, c.name).toBe(true); at /Users/king/Desktop/Workspace/SRO/zoen/apps/admin/tests/e2e/login.spec.ts:24:16 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 ──────────────────────────────────────────────────────────────────────────────────────────────── [21/54] [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 [22/54] [tablet] › tests/e2e/shell.spec.ts:12:3 › console shell (owner) › @shell overview renders inside the shell with no errors [23/54] [tablet] › tests/e2e/shell.spec.ts:23:3 › console shell (owner) › @shell desktop sidebar collapses and remembers it; theme switches and persists [24/54] [tablet] › tests/e2e/shell.spec.ts:46:3 › console shell (owner) › @shell ⌘K finds a module and navigates [25/54] [tablet] › tests/e2e/shell.spec.ts:58:3 › console shell (owner) › @shell phone: bottom tabs and the navigation drawer [26/54] [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/54] [tablet] › tests/e2e/smoke.spec.ts:4:1 › @smoke signed-out visitors land on the sign-in page, which is not indexable [28/54] [desktop] › tests/e2e/website.spec.ts:78:3 › website module (owner) › @website settings: banner change needs a reason (+ step-up) and is reverted [29/54] [tablet] › tests/e2e/smoke.spec.ts:16:1 › @smoke the BFF refuses signed-out reads [30/54] [tablet] › tests/e2e/website.spec.ts:11:3 › website module (owner) › @website draft → preview → review → publish → archive a post [31/54] [tablet] › tests/e2e/website.spec.ts:41:3 › website module (owner) › @website FAQ: add, publish and delete a question [32/54] [tablet] › tests/e2e/website.spec.ts:59:3 › website module (owner) › @website status: degrade the website component, then restore it [33/54] [tablet] › tests/e2e/website.spec.ts:78:3 › website module (owner) › @website settings: banner change needs a reason (+ step-up) and is reverted [34/54] [tablet] › tests/e2e/website.spec.ts:98:3 › website module (owner) › @website pages render cleanly on every screen size [35/54] [tablet] › tests/e2e/website.spec.ts:111:3 › website permissions › @rbac marketing can write posts but not change site settings [36/54] [tablet] › tests/e2e/website.spec.ts:120:3 › website permissions › @rbac analyst has no website access [37/54] [desktop] › tests/e2e/website.spec.ts:98:3 › website module (owner) › @website pages render cleanly on every screen size [38/54] [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 [39/54] [mobile] › tests/e2e/shell.spec.ts:12:3 › console shell (owner) › @shell overview renders inside the shell with no errors [40/54] [desktop] › tests/e2e/website.spec.ts:111:3 › website permissions › @rbac marketing can write posts but not change site settings [41/54] [mobile] › tests/e2e/shell.spec.ts:23:3 › console shell (owner) › @shell desktop sidebar collapses and remembers it; theme switches and persists [42/54] [mobile] › tests/e2e/shell.spec.ts:46:3 › console shell (owner) › @shell ⌘K finds a module and navigates [43/54] [desktop] › tests/e2e/website.spec.ts:120:3 › website permissions › @rbac analyst has no website access [44/54] [mobile] › tests/e2e/shell.spec.ts:58:3 › console shell (owner) › @shell phone: bottom tabs and the navigation drawer [45/54] [mobile] › tests/e2e/smoke.spec.ts:4:1 › @smoke signed-out visitors land on the sign-in page, which is not indexable [46/54] [mobile] › tests/e2e/shell.spec.ts:75:3 › permissions shape the navigation › @rbac QA sees build tools but not website, players or system pages [47/54] [mobile] › tests/e2e/website.spec.ts:11:3 › website module (owner) › @website draft → preview → review → publish → archive a post [48/54] [mobile] › tests/e2e/website.spec.ts:41:3 › website module (owner) › @website FAQ: add, publish and delete a question [49/54] [mobile] › tests/e2e/website.spec.ts:59:3 › website module (owner) › @website status: degrade the website component, then restore it [50/54] [mobile] › tests/e2e/website.spec.ts:78:3 › website module (owner) › @website settings: banner change needs a reason (+ step-up) and is reverted [51/54] [mobile] › tests/e2e/website.spec.ts:98:3 › website module (owner) › @website pages render cleanly on every screen size [52/54] [mobile] › tests/e2e/smoke.spec.ts:16:1 › @smoke the BFF refuses signed-out reads [53/54] [mobile] › tests/e2e/website.spec.ts:111:3 › website permissions › @rbac marketing can write posts but not change site settings [54/54] [mobile] › tests/e2e/website.spec.ts:120:3 › website permissions › @rbac analyst has no website access 1 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 21 skipped 32 passed (3.0m) [WebServer] ⨯ Error: The destination stream closed early. [WebServer] at ignore-listed frames { [WebServer] digest: '4011478435' [WebServer] } [WebServer] ⨯ Error: The destination stream closed early. [WebServer] at ignore-listed frames { [WebServer] digest: '4011478435' [WebServer] } [WebServer] ⨯ Error: The destination stream closed early. [WebServer] at ignore-listed frames { [WebServer] digest: '4011478435' [WebServer] } [WebServer] ⨯ Error: The destination stream closed early. [WebServer] at ignore-listed frames { [WebServer] digest: '4011478435' [WebServer] }