$ cd apps/site && ZOEN_DEV_PAGES=1 ZOEN_EVIDENCE_TASK=WEB-102 pnpm exec playwright test tests/e2e/home.spec.ts tests/e2e/smoke.spec.ts tests/e2e/shell.spec.ts --workers=1 --reporter=line
# cwd /Users/king/Desktop/Workspace/SRO/zoen
# exit 1
Running 24 tests using 1 worker
[1/24] [desktop] › tests/e2e/home.spec.ts:11:3 › home › @home every section renders; the chain fires; paths switch; clips load on click
1) [desktop] › tests/e2e/home.spec.ts:11:3 › home › @home every section renders; the chain fires; paths switch; clips load on click
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 8
- Array []
+ Array [
+ "404 http://127.0.0.1:4341/game/builds/ravager?_rsc=5CB68i4pnAekjehf",
+ "404 http://127.0.0.1:4341/game/builds/warblade?_rsc=5CB68i4pnAekjehf",
+ "404 http://127.0.0.1:4341/game/builds/earthshaker?_rsc=5CB68i4pnAekjehf",
+ "404 http://127.0.0.1:4341/game/builds/nightblade?_rsc=5CB68i4pnAekjehf",
+ "404 http://127.0.0.1:4341/game/builds/talon?_rsc=5CB68i4pnAekjehf",
+ "404 http://127.0.0.1:4341/game/builds/windarcher?_rsc=5CB68i4pnAekjehf",
+ ]
34 | await expectNoHorizontalOverflow(page);
35 | await expectNoSeriousA11y(page);
> 36 | expect(health.errors.filter((e) => !pendingPrefetch(e))).toEqual([]);
| ^
37 | });
38 |
39 | test('@signup the registry: double opt-in by e-mail, confirmed only by a button press', async ({ page }, info) => {
at /Users/king/Desktop/Workspace/SRO/zoen/apps/site/tests/e2e/home.spec.ts:36:62
Error Context: ../../logs/evidence/pw-artifacts/site/home-home-home-every-secti-c3f9a--switch-clips-load-on-click-desktop/error-context.md
attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
../../logs/evidence/pw-artifacts/site/home-home-home-every-secti-c3f9a--switch-clips-load-on-click-desktop/trace.zip
Usage:
pnpm exec playwright show-trace ../../logs/evidence/pw-artifacts/site/home-home-home-every-secti-c3f9a--switch-clips-load-on-click-desktop/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
[2/24] [desktop] › tests/e2e/home.spec.ts:39:3 › home › @signup the registry: double opt-in by e-mail, confirmed only by a button press
2) [desktop] › tests/e2e/home.spec.ts:39:3 › home › @signup the registry: double opt-in by e-mail, confirmed only by a button press
Error: locator.fill: Error: strict mode violation: locator('#alpha form').getByLabel('E-mail') resolved to 2 elements:
1) aka getByRole('textbox', { name: 'E-mail' })
2) aka getByRole('checkbox', { name: 'I agree to receive e-mails' })
Call log:
- waiting for locator('#alpha form').getByLabel('E-mail')
44 | await page.goto('/?utm_source=e2e#alpha');
45 | const form = page.locator('#alpha form');
> 46 | await form.getByLabel('E-mail').fill(email);
| ^
47 | await form.getByLabel(/I agree to receive e-mails/).check();
48 | await page.waitForTimeout(2800);
49 | await evidence(page, info, 'registry');
at /Users/king/Desktop/Workspace/SRO/zoen/apps/site/tests/e2e/home.spec.ts:46:39
Error Context: ../../logs/evidence/pw-artifacts/site/home-home-signup-the-regis-5c28e-rmed-only-by-a-button-press-desktop/error-context.md
attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
../../logs/evidence/pw-artifacts/site/home-home-signup-the-regis-5c28e-rmed-only-by-a-button-press-desktop/trace.zip
Usage:
pnpm exec playwright show-trace ../../logs/evidence/pw-artifacts/site/home-home-signup-the-regis-5c28e-rmed-only-by-a-button-press-desktop/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
[3/24] [desktop] › tests/e2e/home.spec.ts:66:3 › home › @clip home screenshots and a 10 s scroll-through
[4/24] [desktop] › tests/e2e/shell.spec.ts:9:1 › @shell header, footer and security headers; the site sets no cookies
[5/24] [desktop] › tests/e2e/shell.spec.ts:32:1 › @shell 404 page is themed and has a way home
[6/24] [desktop] › tests/e2e/shell.spec.ts:39:1 › @revalidate the publish webhook accepts only fresh, signed, unique requests
[7/24] [desktop] › tests/e2e/smoke.spec.ts:4:1 › @smoke home renders the game name without errors or sideways scroll
[8/24] [desktop] › tests/e2e/smoke.spec.ts:15:1 › @smoke 360 px phones have no sideways scroll
[9/24] [tablet] › tests/e2e/home.spec.ts:11:3 › home › @home every section renders; the chain fires; paths switch; clips load on click
3) [tablet] › tests/e2e/home.spec.ts:11:3 › home › @home every section renders; the chain fires; paths switch; clips load on click
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 5
- Array []
+ Array [
+ "404 http://127.0.0.1:4341/game/builds/nightblade?_rsc=5CB68i4pnAekjehf",
+ "404 http://127.0.0.1:4341/game/builds/talon?_rsc=5CB68i4pnAekjehf",
+ "404 http://127.0.0.1:4341/game/builds/windarcher?_rsc=5CB68i4pnAekjehf",
+ ]
34 | await expectNoHorizontalOverflow(page);
35 | await expectNoSeriousA11y(page);
> 36 | expect(health.errors.filter((e) => !pendingPrefetch(e))).toEqual([]);
| ^
37 | });
38 |
39 | test('@signup the registry: double opt-in by e-mail, confirmed only by a button press', async ({ page }, info) => {
at /Users/king/Desktop/Workspace/SRO/zoen/apps/site/tests/e2e/home.spec.ts:36:62
Error Context: ../../logs/evidence/pw-artifacts/site/home-home-home-every-secti-c3f9a--switch-clips-load-on-click-tablet/error-context.md
attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
../../logs/evidence/pw-artifacts/site/home-home-home-every-secti-c3f9a--switch-clips-load-on-click-tablet/trace.zip
Usage:
pnpm exec playwright show-trace ../../logs/evidence/pw-artifacts/site/home-home-home-every-secti-c3f9a--switch-clips-load-on-click-tablet/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
[10/24] [tablet] › tests/e2e/home.spec.ts:39:3 › home › @signup the registry: double opt-in by e-mail, confirmed only by a button press
[11/24] [tablet] › tests/e2e/home.spec.ts:66:3 › home › @clip home screenshots and a 10 s scroll-through
[12/24] [tablet] › tests/e2e/shell.spec.ts:9:1 › @shell header, footer and security headers; the site sets no cookies
[13/24] [tablet] › tests/e2e/shell.spec.ts:32:1 › @shell 404 page is themed and has a way home
[14/24] [tablet] › tests/e2e/shell.spec.ts:39:1 › @revalidate the publish webhook accepts only fresh, signed, unique requests
[15/24] [tablet] › tests/e2e/smoke.spec.ts:4:1 › @smoke home renders the game name without errors or sideways scroll
[16/24] [tablet] › tests/e2e/smoke.spec.ts:15:1 › @smoke 360 px phones have no sideways scroll
[17/24] [mobile] › tests/e2e/home.spec.ts:11:3 › home › @home every section renders; the chain fires; paths switch; clips load on click
4) [mobile] › tests/e2e/home.spec.ts:11:3 › home › @home every section renders; the chain fires; paths switch; clips load on click
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 4
- Array []
+ Array [
+ "404 http://127.0.0.1:4341/game/builds/nightblade?_rsc=5CB68i4pnAekjehf",
+ "404 http://127.0.0.1:4341/game/builds/talon?_rsc=5CB68i4pnAekjehf",
+ ]
34 | await expectNoHorizontalOverflow(page);
35 | await expectNoSeriousA11y(page);
> 36 | expect(health.errors.filter((e) => !pendingPrefetch(e))).toEqual([]);
| ^
37 | });
38 |
39 | test('@signup the registry: double opt-in by e-mail, confirmed only by a button press', async ({ page }, info) => {
at /Users/king/Desktop/Workspace/SRO/zoen/apps/site/tests/e2e/home.spec.ts:36:62
Error Context: ../../logs/evidence/pw-artifacts/site/home-home-home-every-secti-c3f9a--switch-clips-load-on-click-mobile/error-context.md
attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
../../logs/evidence/pw-artifacts/site/home-home-home-every-secti-c3f9a--switch-clips-load-on-click-mobile/trace.zip
Usage:
pnpm exec playwright show-trace ../../logs/evidence/pw-artifacts/site/home-home-home-every-secti-c3f9a--switch-clips-load-on-click-mobile/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
[18/24] [mobile] › tests/e2e/home.spec.ts:39:3 › home › @signup the registry: double opt-in by e-mail, confirmed only by a button press
[19/24] [mobile] › tests/e2e/home.spec.ts:66:3 › home › @clip home screenshots and a 10 s scroll-through
[20/24] [mobile] › tests/e2e/shell.spec.ts:9:1 › @shell header, footer and security headers; the site sets no cookies
[21/24] [mobile] › tests/e2e/shell.spec.ts:32:1 › @shell 404 page is themed and has a way home
[22/24] [mobile] › tests/e2e/shell.spec.ts:39:1 › @revalidate the publish webhook accepts only fresh, signed, unique requests
[23/24] [mobile] › tests/e2e/smoke.spec.ts:4:1 › @smoke home renders the game name without errors or sideways scroll
[24/24] [mobile] › tests/e2e/smoke.spec.ts:15:1 › @smoke 360 px phones have no sideways scroll
4 failed
[desktop] › tests/e2e/home.spec.ts:11:3 › home › @home every section renders; the chain fires; paths switch; clips load on click
[desktop] › tests/e2e/home.spec.ts:39:3 › home › @signup the registry: double opt-in by e-mail, confirmed only by a button press
[tablet] › tests/e2e/home.spec.ts:11:3 › home › @home every section renders; the chain fires; paths switch; clips load on click
[mobile] › tests/e2e/home.spec.ts:11:3 › home › @home every section renders; the chain fires; paths switch; clips load on click
6 skipped
14 passed (1.0m)
[desktop] › tests/e2e/home.spec.ts:66:3 › home › @clip home screenshots and a 10 s scroll-through