149 lines
9.7 KiB
Plaintext
149 lines
9.7 KiB
Plaintext
UTC: 2026-10-14T07:21:27.811844+00:00
|
||
COMMAND: env -u PLAYWRIGHT_NO_SANDBOX CHROME_PATH=/usr/bin/google-chrome npm run test:browser -- tests/browser/game.spec.ts tests/browser/audio.spec.ts --project=desktop
|
||
|
||
> find-word@0.1.1 test:browser
|
||
> playwright test tests/browser/game.spec.ts tests/browser/audio.spec.ts --project=desktop
|
||
|
||
[WebServer] (node:796454) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
|
||
|
||
Running 4 tests using 2 workers
|
||
|
||
(node:796474) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||
(Use `node --trace-warnings ...` to show where the warning was created)
|
||
(node:796475) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||
(Use `node --trace-warnings ...` to show where the warning was created)
|
||
✘ 1 [desktop] › tests/browser/audio.spec.ts:7:1 › intro·목표 101개 versioned WAV를 실제 Chrome에서 해시·디코드 검증한다 (1.8s)
|
||
(node:796732) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||
(Use `node --trace-warnings ...` to show where the warning was created)
|
||
✘ 2 [desktop] › tests/browser/game.spec.ts:8:1 › 실제 오디오로 혼합 모드 완주·레이아웃·접근성·외부 요청 없음 (3.0s)
|
||
✘ 3 [desktop] › tests/browser/game.spec.ts:124:3 › intro WAV query URL의 404를 표시하고 같은 URL로 재시도·정답 mapping한다 (805ms)
|
||
(node:796861) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||
(Use `node --trace-warnings ...` to show where the warning was created)
|
||
✘ 4 [desktop] › tests/browser/game.spec.ts:124:3 › target WAV query URL의 404를 표시하고 같은 URL로 재시도·정답 mapping한다 (666ms)
|
||
|
||
|
||
1) [desktop] › tests/browser/audio.spec.ts:7:1 › intro·목표 101개 versioned WAV를 실제 Chrome에서 해시·디코드 검증한다
|
||
|
||
Error: expect(received).toEqual(expected) // deep equality
|
||
|
||
- Expected - 1
|
||
+ Received + 1
|
||
|
||
Set {
|
||
- "0.1.1",
|
||
+ null,
|
||
}
|
||
|
||
30 | expect(targetUrls).toHaveLength(100);
|
||
31 | const urls = [introUrl, ...targetUrls.map((url) => new URL(url, page.url()).href)];
|
||
> 32 | expect(new Set(urls.map((url) => new URL(url).searchParams.get("v")))).toEqual(new Set(["0.1.1"]));
|
||
| ^
|
||
33 | expect(urls.every((url) => new URL(url).origin === new URL(page.url()).origin)).toBe(true);
|
||
34 | const manifest = JSON.parse(readFileSync("public/audio/manifest.json", "utf8")) as {
|
||
35 | version: string;
|
||
at /home/hermes/worktrees/find-word-v0.1.1/tests/browser/audio.spec.ts:32:74
|
||
|
||
Error Context: test-results/audio-intro·목표-101개-versioned-WAV를-실제-Chrome에서-해시·디코드-검증한다-desktop/error-context.md
|
||
|
||
attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
|
||
test-results/audio-intro·목표-101개-versioned-WAV를-실제-Chrome에서-해시·디코드-검증한다-desktop/trace.zip
|
||
Usage:
|
||
|
||
npx playwright show-trace test-results/audio-intro·목표-101개-versioned-WAV를-실제-Chrome에서-해시·디코드-검증한다-desktop/trace.zip
|
||
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
2) [desktop] › tests/browser/game.spec.ts:8:1 › 실제 오디오로 혼합 모드 완주·레이아웃·접근성·외부 요청 없음 ───────────────
|
||
|
||
Error: expect(received).toEqual(expected) // deep equality
|
||
|
||
- Expected - 2
|
||
+ Received + 2
|
||
|
||
Array [
|
||
- "0.1.1",
|
||
- "0.1.1",
|
||
+ null,
|
||
+ null,
|
||
]
|
||
|
||
42 | await page.getByRole("button", { name: "게임 시작 · 소리 듣기" }).click();
|
||
43 | await expect.poll(() => audioUrls.length).toBe(2);
|
||
> 44 | expect(audioUrls.map((url) => url.searchParams.get("v"))).toEqual(["0.1.1", "0.1.1"]);
|
||
| ^
|
||
45 | await expect(page.getByRole("button", { name: /듣는 중/ })).toBeDisabled();
|
||
46 | await expect(page.locator(".sound-wave.active i").first()).toHaveCSS(
|
||
47 | "animation-name",
|
||
at /home/hermes/worktrees/find-word-v0.1.1/tests/browser/game.spec.ts:44:61
|
||
|
||
Error Context: test-results/game-실제-오디오로-혼합-모드-완주·레이아웃·접근성·외부-요청-없음-desktop/error-context.md
|
||
|
||
attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
|
||
test-results/game-실제-오디오로-혼합-모드-완주·레이아웃·접근성·외부-요청-없음-desktop/trace.zip
|
||
Usage:
|
||
|
||
npx playwright show-trace test-results/game-실제-오디오로-혼합-모드-완주·레이아웃·접근성·외부-요청-없음-desktop/trace.zip
|
||
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
3) [desktop] › tests/browser/game.spec.ts:124:3 › intro WAV query URL의 404를 표시하고 같은 URL로 재시도·정답 mapping한다
|
||
|
||
Error: expect(received).toBe(expected) // Object.is equality
|
||
|
||
Expected: "0.1.1"
|
||
Received: null
|
||
|
||
138 | await expect(page.getByRole("alert")).toContainText("소리를 재생하지 못했어요");
|
||
139 | expect(missing).toHaveLength(1);
|
||
> 140 | expect(new URL(missing[0]!).searchParams.get("v")).toBe("0.1.1");
|
||
| ^
|
||
141 | expect(audioUrls).toHaveLength(2);
|
||
142 | await page.unroute(matchesFailure);
|
||
143 | await page.getByRole("button", { name: "다시 시도" }).click();
|
||
at /home/hermes/worktrees/find-word-v0.1.1/tests/browser/game.spec.ts:140:56
|
||
|
||
Error Context: test-results/game-intro-WAV-query-URL의-404를-표시하고-같은-URL로-재시도·정답-mapping한다-desktop/error-context.md
|
||
|
||
attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
|
||
test-results/game-intro-WAV-query-URL의-404를-표시하고-같은-URL로-재시도·정답-mapping한다-desktop/trace.zip
|
||
Usage:
|
||
|
||
npx playwright show-trace test-results/game-intro-WAV-query-URL의-404를-표시하고-같은-URL로-재시도·정답-mapping한다-desktop/trace.zip
|
||
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
4) [desktop] › tests/browser/game.spec.ts:124:3 › target WAV query URL의 404를 표시하고 같은 URL로 재시도·정답 mapping한다
|
||
|
||
Error: expect(received).toBe(expected) // Object.is equality
|
||
|
||
Expected: "0.1.1"
|
||
Received: null
|
||
|
||
138 | await expect(page.getByRole("alert")).toContainText("소리를 재생하지 못했어요");
|
||
139 | expect(missing).toHaveLength(1);
|
||
> 140 | expect(new URL(missing[0]!).searchParams.get("v")).toBe("0.1.1");
|
||
| ^
|
||
141 | expect(audioUrls).toHaveLength(2);
|
||
142 | await page.unroute(matchesFailure);
|
||
143 | await page.getByRole("button", { name: "다시 시도" }).click();
|
||
at /home/hermes/worktrees/find-word-v0.1.1/tests/browser/game.spec.ts:140:56
|
||
|
||
Error Context: test-results/game-target-WAV-query-URL의-8e3ab-하고-같은-URL로-재시도·정답-mapping한다-desktop/error-context.md
|
||
|
||
attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
|
||
test-results/game-target-WAV-query-URL의-8e3ab-하고-같은-URL로-재시도·정답-mapping한다-desktop/trace.zip
|
||
Usage:
|
||
|
||
npx playwright show-trace test-results/game-target-WAV-query-URL의-8e3ab-하고-같은-URL로-재시도·정답-mapping한다-desktop/trace.zip
|
||
|
||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||
|
||
4 failed
|
||
[desktop] › tests/browser/audio.spec.ts:7:1 › intro·목표 101개 versioned WAV를 실제 Chrome에서 해시·디코드 검증한다
|
||
[desktop] › tests/browser/game.spec.ts:8:1 › 실제 오디오로 혼합 모드 완주·레이아웃·접근성·외부 요청 없음 ────────────────
|
||
[desktop] › tests/browser/game.spec.ts:124:3 › intro WAV query URL의 404를 표시하고 같은 URL로 재시도·정답 mapping한다
|
||
[desktop] › tests/browser/game.spec.ts:124:3 › target WAV query URL의 404를 표시하고 같은 URL로 재시도·정답 mapping한다
|
||
|
||
EXIT_CODE: 1
|