$ 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 owner [2/33] [setup] › tests/e2e/auth.setup.ts:9:3 › sign in as developer [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:8:3 › console shell (owner) › @shell overview renders inside the shell with no errors 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(locator).toContainText(expected) failed Locator: getByRole('alert') Expected substring: "incorrect" Error: strict mode violation: getByRole('alert') resolved to 2 elements: 1)
Email or password is incorrect, or the account is…
aka getByText('Email or password is') 2) aka locator('[id="__next-route-announcer__"]') Call log: - Expect "toContainText" getByRole('alert') with timeout 10000ms - waiting for getByRole('alert') 3 × locator resolved to - unexpected value "" 13 | await page.getByLabel('Password', { exact: true }).fill('not-the-password'); 14 | await page.getByRole('button', { name: 'Continue' }).click(); > 15 | await expect(page.getByRole('alert')).toContainText('incorrect'); | ^ 16 | await page.getByLabel('Password', { exact: true }).fill(a.password); 17 | await page.getByRole('button', { name: 'Continue' }).click(); 18 | await page.waitForURL(/\/login\/verify/); at /Users/king/Desktop/Workspace/SRO/zoen/apps/admin/tests/e2e/login.spec.ts:15:43 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 ──────────────────────────────────────────────────────────────────────────────────────────────── [12/33] [desktop] › tests/e2e/smoke.spec.ts:4:1 › @smoke signed-out visitors land on the sign-in page, which is not indexable 2) [desktop] › tests/e2e/shell.spec.ts:8:3 › console shell (owner) › @shell overview renders inside the shell with no errors Error: console errors: 404 http://127.0.0.1:4351/approvals?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/bugs?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/ai?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/releases?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/production?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/website?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/support?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/growth?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/live?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/config?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/world?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/players?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/security?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/system/staff?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/system/audit?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/system/integrations?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 34 - Array [] + Array [ + "404 http://127.0.0.1:4351/approvals?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/bugs?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/ai?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/releases?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/production?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/website?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/support?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/growth?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/live?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/config?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/world?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/players?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/security?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/system/staff?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/system/audit?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/system/integrations?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + ] at helpers.ts:26 24 | return { 25 | errors, > 26 | expectClean: () => expect(errors, `console errors:\n${errors.join('\n')}`).toEqual([]), | ^ 27 | }; 28 | } 29 | at Object.expectClean (/Users/king/Desktop/Workspace/SRO/zoen/apps/admin/tests/e2e/helpers.ts:26:80) at /Users/king/Desktop/Workspace/SRO/zoen/apps/admin/tests/e2e/shell.spec.ts:16:12 Error Context: ../../logs/evidence/pw-artifacts/admin/shell-console-shell-owner--0c381-de-the-shell-with-no-errors-desktop/error-context.md attachment #2: trace (application/zip) ───────────────────────────────────────────────────────── ../../logs/evidence/pw-artifacts/admin/shell-console-shell-owner--0c381-de-the-shell-with-no-errors-desktop/trace.zip Usage: pnpm exec playwright show-trace ../../logs/evidence/pw-artifacts/admin/shell-console-shell-owner--0c381-de-the-shell-with-no-errors-desktop/trace.zip ──────────────────────────────────────────────────────────────────────────────────────────────── [13/33] [desktop] › tests/e2e/shell.spec.ts:19:3 › console shell (owner) › @shell desktop sidebar collapses and remembers it; theme switches and persists [14/33] [desktop] › tests/e2e/smoke.spec.ts:16:1 › @smoke the BFF refuses signed-out reads [15/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 [16/33] [tablet] › tests/e2e/shell.spec.ts:8:3 › console shell (owner) › @shell overview renders inside the shell with no errors [17/33] [desktop] › tests/e2e/shell.spec.ts:42:3 › console shell (owner) › @shell ⌘K finds a module and navigates [18/33] [desktop] › tests/e2e/shell.spec.ts:54:3 › console shell (owner) › @shell phone: bottom tabs and the navigation drawer [19/33] [desktop] › tests/e2e/shell.spec.ts:71:3 › permissions shape the navigation › @rbac QA sees build tools but not website, players or system pages 3) [tablet] › tests/e2e/shell.spec.ts:8:3 › console shell (owner) › @shell overview renders inside the shell with no errors Error: console errors: 404 http://127.0.0.1:4351/approvals?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/bugs?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/ai?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/releases?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/support?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/production?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/website?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/growth?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/live?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/config?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/world?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/players?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/security?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/system/staff?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 30 - Array [] + Array [ + "404 http://127.0.0.1:4351/approvals?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/bugs?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/ai?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/releases?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/support?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/production?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/website?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/growth?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/live?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/config?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/world?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/players?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/security?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/system/staff?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + ] at helpers.ts:26 24 | return { 25 | errors, > 26 | expectClean: () => expect(errors, `console errors:\n${errors.join('\n')}`).toEqual([]), | ^ 27 | }; 28 | } 29 | at Object.expectClean (/Users/king/Desktop/Workspace/SRO/zoen/apps/admin/tests/e2e/helpers.ts:26:80) at /Users/king/Desktop/Workspace/SRO/zoen/apps/admin/tests/e2e/shell.spec.ts:16:12 Error Context: ../../logs/evidence/pw-artifacts/admin/shell-console-shell-owner--0c381-de-the-shell-with-no-errors-tablet/error-context.md attachment #2: trace (application/zip) ───────────────────────────────────────────────────────── ../../logs/evidence/pw-artifacts/admin/shell-console-shell-owner--0c381-de-the-shell-with-no-errors-tablet/trace.zip Usage: pnpm exec playwright show-trace ../../logs/evidence/pw-artifacts/admin/shell-console-shell-owner--0c381-de-the-shell-with-no-errors-tablet/trace.zip ──────────────────────────────────────────────────────────────────────────────────────────────── [20/33] [tablet] › tests/e2e/shell.spec.ts:19:3 › console shell (owner) › @shell desktop sidebar collapses and remembers it; theme switches and persists [21/33] [tablet] › tests/e2e/smoke.spec.ts:4:1 › @smoke signed-out visitors land on the sign-in page, which is not indexable [22/33] [tablet] › tests/e2e/shell.spec.ts:42:3 › console shell (owner) › @shell ⌘K finds a module and navigates [23/33] [tablet] › tests/e2e/shell.spec.ts:54:3 › console shell (owner) › @shell phone: bottom tabs and the navigation drawer [24/33] [tablet] › tests/e2e/shell.spec.ts:71:3 › permissions shape the navigation › @rbac QA sees build tools but not website, players or system pages [25/33] [tablet] › tests/e2e/smoke.spec.ts:16:1 › @smoke the BFF refuses signed-out reads [26/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 [27/33] [mobile] › tests/e2e/shell.spec.ts:8:3 › console shell (owner) › @shell overview renders inside the shell with no errors 4) [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(locator).toContainText(expected) failed Locator: getByRole('alert') Expected substring: "incorrect" Error: strict mode violation: getByRole('alert') resolved to 2 elements: 1)Email or password is incorrect, or the account is…
aka getByText('Email or password is') 2) aka locator('[id="__next-route-announcer__"]') Call log: - Expect "toContainText" getByRole('alert') with timeout 10000ms - waiting for getByRole('alert') 5 × locator resolved to - unexpected value "" 13 | await page.getByLabel('Password', { exact: true }).fill('not-the-password'); 14 | await page.getByRole('button', { name: 'Continue' }).click(); > 15 | await expect(page.getByRole('alert')).toContainText('incorrect'); | ^ 16 | await page.getByLabel('Password', { exact: true }).fill(a.password); 17 | await page.getByRole('button', { name: 'Continue' }).click(); 18 | await page.waitForURL(/\/login\/verify/); at /Users/king/Desktop/Workspace/SRO/zoen/apps/admin/tests/e2e/login.spec.ts:15:43 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 ──────────────────────────────────────────────────────────────────────────────────────────────── [28/33] [mobile] › tests/e2e/smoke.spec.ts:4:1 › @smoke signed-out visitors land on the sign-in page, which is not indexable 5) [mobile] › tests/e2e/shell.spec.ts:8:3 › console shell (owner) › @shell overview renders inside the shell with no errors Error: console errors: 404 http://127.0.0.1:4351/approvals?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/bugs?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/security?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://127.0.0.1:4351/support?_rsc=5CB68i4pnAekjehf Failed to load resource: the server responded with a status of 404 (Not Found) expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 10 - Array [] + Array [ + "404 http://127.0.0.1:4351/approvals?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/bugs?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/security?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + "404 http://127.0.0.1:4351/support?_rsc=5CB68i4pnAekjehf", + "Failed to load resource: the server responded with a status of 404 (Not Found)", + ] at helpers.ts:26 24 | return { 25 | errors, > 26 | expectClean: () => expect(errors, `console errors:\n${errors.join('\n')}`).toEqual([]), | ^ 27 | }; 28 | } 29 | at Object.expectClean (/Users/king/Desktop/Workspace/SRO/zoen/apps/admin/tests/e2e/helpers.ts:26:80) at /Users/king/Desktop/Workspace/SRO/zoen/apps/admin/tests/e2e/shell.spec.ts:16:12 Error Context: ../../logs/evidence/pw-artifacts/admin/shell-console-shell-owner--0c381-de-the-shell-with-no-errors-mobile/error-context.md attachment #2: trace (application/zip) ───────────────────────────────────────────────────────── ../../logs/evidence/pw-artifacts/admin/shell-console-shell-owner--0c381-de-the-shell-with-no-errors-mobile/trace.zip Usage: pnpm exec playwright show-trace ../../logs/evidence/pw-artifacts/admin/shell-console-shell-owner--0c381-de-the-shell-with-no-errors-mobile/trace.zip ──────────────────────────────────────────────────────────────────────────────────────────────── [29/33] [mobile] › tests/e2e/shell.spec.ts:19:3 › console shell (owner) › @shell desktop sidebar collapses and remembers it; theme switches and persists [30/33] [mobile] › tests/e2e/smoke.spec.ts:16:1 › @smoke the BFF refuses signed-out reads [31/33] [mobile] › tests/e2e/shell.spec.ts:42:3 › console shell (owner) › @shell ⌘K finds a module and navigates [32/33] [mobile] › tests/e2e/shell.spec.ts:54:3 › console shell (owner) › @shell phone: bottom tabs and the navigation drawer [33/33] [mobile] › tests/e2e/shell.spec.ts:71:3 › permissions shape the navigation › @rbac QA sees build tools but not website, players or system pages 5 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 [desktop] › tests/e2e/shell.spec.ts:8:3 › console shell (owner) › @shell overview renders inside the shell with no errors [tablet] › tests/e2e/shell.spec.ts:8:3 › console shell (owner) › @shell overview renders inside the shell with no errors [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 [mobile] › tests/e2e/shell.spec.ts:8:3 › console shell (owner) › @shell overview renders inside the shell with no errors 9 skipped 19 passed (38.9s)