96 lines
4.9 KiB
Plaintext
96 lines
4.9 KiB
Plaintext
|
||
> find-word@0.1.0 test:browser
|
||
> playwright test tests/browser/ui.spec.ts --project=mobile --grep 난이도 설명
|
||
|
||
[WebServer] (node:752587) 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:752608) 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:4:1 › 난이도 설명은 모바일에서도 보인다 (4.0s)
|
||
|
||
|
||
1) [mobile] › tests/browser/ui.spec.ts:4:1 › 난이도 설명은 모바일에서도 보인다 ──────────────────────────────────
|
||
|
||
Error: expect(locator).toBeVisible() failed
|
||
|
||
Locator: locator('.db-note')
|
||
Expected: visible
|
||
Received: hidden
|
||
Timeout: 1000ms
|
||
|
||
Call log:
|
||
- Expect "soft toBeVisible" locator('.db-note') with timeout 1000ms
|
||
- waiting for locator('.db-note')
|
||
10 × locator resolved to <p class="db-note">…</p>
|
||
- unexpected value "hidden"
|
||
|
||
|
||
7 | // DOM에만 설명을 남기고 모바일 CSS로 숨기면 컴포넌트 검증은 통과하므로
|
||
8 | // 실제 화면에서 난이도 배지와 쉬운 설명을 모두 읽을 수 있는지 확인한다.
|
||
> 9 | await expect.soft(page.locator(".db-note")).toBeVisible({ timeout: 1000 });
|
||
| ^
|
||
10 | await expect.soft(page.getByText("1단계 · SNR +6 dB")).toBeVisible({ timeout: 1000 });
|
||
11 | await expect.soft(page.locator(".db-note")).toContainText("음성이 배경보다 6 dB 커요.", { timeout: 1000 });
|
||
12 | });
|
||
at /home/hermes/worktrees/find-word-v0.1/tests/browser/ui.spec.ts:9:47
|
||
|
||
Error: expect(locator).toBeVisible() failed
|
||
|
||
Locator: getByText('1단계 · SNR +6 dB')
|
||
Expected: visible
|
||
Timeout: 1000ms
|
||
Error: element(s) not found
|
||
|
||
Call log:
|
||
- Expect "soft toBeVisible" getByText('1단계 · SNR +6 dB') with timeout 1000ms
|
||
- waiting for getByText('1단계 · SNR +6 dB')
|
||
|
||
|
||
8 | // 실제 화면에서 난이도 배지와 쉬운 설명을 모두 읽을 수 있는지 확인한다.
|
||
9 | await expect.soft(page.locator(".db-note")).toBeVisible({ timeout: 1000 });
|
||
> 10 | await expect.soft(page.getByText("1단계 · SNR +6 dB")).toBeVisible({ timeout: 1000 });
|
||
| ^
|
||
11 | await expect.soft(page.locator(".db-note")).toContainText("음성이 배경보다 6 dB 커요.", { timeout: 1000 });
|
||
12 | });
|
||
13 |
|
||
at /home/hermes/worktrees/find-word-v0.1/tests/browser/ui.spec.ts:10:56
|
||
|
||
Error: expect(locator).toContainText(expected) failed
|
||
|
||
Locator: locator('.db-note')
|
||
Expected substring: "음성이 배경보다 6 dB 커요."
|
||
Received string: "음성 / 배경의 상대 음량소리에 익숙해지기"
|
||
Timeout: 1000ms
|
||
|
||
Call log:
|
||
- Expect "soft toContainText" locator('.db-note') with timeout 1000ms
|
||
- waiting for locator('.db-note')
|
||
11 × locator resolved to <p class="db-note">…</p>
|
||
- unexpected value "음성 / 배경의 상대 음량소리에 익숙해지기"
|
||
|
||
|
||
9 | await expect.soft(page.locator(".db-note")).toBeVisible({ timeout: 1000 });
|
||
10 | await expect.soft(page.getByText("1단계 · SNR +6 dB")).toBeVisible({ timeout: 1000 });
|
||
> 11 | await expect.soft(page.locator(".db-note")).toContainText("음성이 배경보다 6 dB 커요.", { timeout: 1000 });
|
||
| ^
|
||
12 | });
|
||
13 |
|
||
14 | // jsdom은 줄바꿈을 계산하지 않는다. 실제 Chrome에서 한국어 제목의
|
||
at /home/hermes/worktrees/find-word-v0.1/tests/browser/ui.spec.ts:11:47
|
||
|
||
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:4:1 › 난이도 설명은 모바일에서도 보인다 ───────────────────────────────────
|