113 lines
4.3 KiB
Plaintext
113 lines
4.3 KiB
Plaintext
|
||||
|
|
> find-word@0.1.0 test:browser
|
|||
|
|
> playwright test tests/browser/ui.spec.ts --project=mobile
|
|||
|
|
|
|||
|
|
[WebServer] (node:752009) 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 1 test using 1 worker
|
|||
|
|
|
|||
|
|
(node:752029) 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 [mobile] › tests/browser/ui.spec.ts:6:1 › 한국어 제목은 단어 중간에서 줄바꿈하지 않는다 (13.7s)
|
|||
|
|
|
|||
|
|
|
|||
|
|
1) [mobile] › tests/browser/ui.spec.ts:6:1 › 한국어 제목은 단어 중간에서 줄바꿈하지 않는다 ───────────────────────────
|
|||
|
|
|
|||
|
|
Error: expect(received).toEqual(expected) // deep equality
|
|||
|
|
|
|||
|
|
- Expected - 7
|
|||
|
|
+ Received + 7
|
|||
|
|
|
|||
|
|
Array [
|
|||
|
|
Object {
|
|||
|
|
"title": "단어를 맞춰라",
|
|||
|
|
- "wordBreak": "keep-all",
|
|||
|
|
+ "wordBreak": "normal",
|
|||
|
|
},
|
|||
|
|
Object {
|
|||
|
|
"title": "소음 속 작은 단어,들리시나요?",
|
|||
|
|
- "wordBreak": "keep-all",
|
|||
|
|
+ "wordBreak": "normal",
|
|||
|
|
},
|
|||
|
|
Object {
|
|||
|
|
"title": "나의 소리 탐험 준비",
|
|||
|
|
- "wordBreak": "keep-all",
|
|||
|
|
+ "wordBreak": "normal",
|
|||
|
|
},
|
|||
|
|
Object {
|
|||
|
|
"title": "작은 단어를 발견하는 방법",
|
|||
|
|
- "wordBreak": "keep-all",
|
|||
|
|
+ "wordBreak": "normal",
|
|||
|
|
},
|
|||
|
|
Object {
|
|||
|
|
"title": "먼저, 귀 기울이기",
|
|||
|
|
- "wordBreak": "keep-all",
|
|||
|
|
+ "wordBreak": "normal",
|
|||
|
|
},
|
|||
|
|
Object {
|
|||
|
|
"title": "기억한 단어 찾기",
|
|||
|
|
- "wordBreak": "keep-all",
|
|||
|
|
+ "wordBreak": "normal",
|
|||
|
|
},
|
|||
|
|
Object {
|
|||
|
|
"title": "나의 발견 돌아보기",
|
|||
|
|
- "wordBreak": "keep-all",
|
|||
|
|
+ "wordBreak": "normal",
|
|||
|
|
},
|
|||
|
|
]
|
|||
|
|
|
|||
|
|
17 | );
|
|||
|
|
18 | const homeHeadings = await wordBreaks();
|
|||
|
|
> 19 | expect.soft(homeHeadings).toEqual(
|
|||
|
|
| ^
|
|||
|
|
20 | homeHeadings.map((heading) => ({ ...heading, wordBreak: "keep-all" })),
|
|||
|
|
21 | );
|
|||
|
|
22 | await page.getByRole("button", { name: /소리 시작/ }).click();
|
|||
|
|
at /home/hermes/worktrees/find-word-v0.1/tests/browser/ui.spec.ts:19:29
|
|||
|
|
|
|||
|
|
Error: expect(received).toEqual(expected) // deep equality
|
|||
|
|
|
|||
|
|
- Expected - 3
|
|||
|
|
+ Received + 3
|
|||
|
|
|
|||
|
|
Array [
|
|||
|
|
Object {
|
|||
|
|
"title": "단어를 맞춰라",
|
|||
|
|
- "wordBreak": "keep-all",
|
|||
|
|
+ "wordBreak": "normal",
|
|||
|
|
},
|
|||
|
|
Object {
|
|||
|
|
"title": "길거리",
|
|||
|
|
- "wordBreak": "keep-all",
|
|||
|
|
+ "wordBreak": "normal",
|
|||
|
|
},
|
|||
|
|
Object {
|
|||
|
|
"title": "말을 바로잡아 알려준 단어는 무엇인가요?",
|
|||
|
|
- "wordBreak": "keep-all",
|
|||
|
|
+ "wordBreak": "normal",
|
|||
|
|
},
|
|||
|
|
]
|
|||
|
|
|
|||
|
|
30 | });
|
|||
|
|
31 | const gameHeadings = await wordBreaks();
|
|||
|
|
> 32 | expect.soft(gameHeadings).toEqual(
|
|||
|
|
| ^
|
|||
|
|
33 | gameHeadings.map((heading) => ({ ...heading, wordBreak: "keep-all" })),
|
|||
|
|
34 | );
|
|||
|
|
35 | expect(
|
|||
|
|
at /home/hermes/worktrees/find-word-v0.1/tests/browser/ui.spec.ts:32:29
|
|||
|
|
|
|||
|
|
Error Context: test-results/ui-한국어-제목은-단어-중간에서-줄바꿈하지-않는다-mobile/error-context.md
|
|||
|
|
|
|||
|
|
attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
|
|||
|
|
test-results/ui-한국어-제목은-단어-중간에서-줄바꿈하지-않는다-mobile/trace.zip
|
|||
|
|
Usage:
|
|||
|
|
|
|||
|
|
npx playwright show-trace test-results/ui-한국어-제목은-단어-중간에서-줄바꿈하지-않는다-mobile/trace.zip
|
|||
|
|
|
|||
|
|
────────────────────────────────────────────────────────────────────────────────────────────────
|
|||
|
|
|
|||
|
|
1 failed
|
|||
|
|
[mobile] › tests/browser/ui.spec.ts:6:1 › 한국어 제목은 단어 중간에서 줄바꿈하지 않는다 ────────────────────────────
|