Files
2026-10-14 06:19:24 +00:00

78 lines
3.2 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
> find-word@0.1.0 test
> vitest run tests/App.test.tsx -t 전체 음량을 시작 CTA
RUN v5.0.4 /home/hermes/worktrees/find-word-v0.1
❯ tests/App.test.tsx (10 tests | 1 failed | 9 skipped) 808ms
❯ 시작부터 결과까지 사용자 흐름 (10)
× 전체 음량을 시작 CTA 앞 설정 카드와 게임 환경 패널에 배치하고 값을 유지한다 805ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
FAIL tests/App.test.tsx > 시작부터 결과까지 사용자 흐름 > 전체 음량을 시작 CTA 앞 설정 카드와 게임 환경 패널에 배치하고 값을 유지한다
Error: expect(element).toContainElement(element)
<section
aria-labelledby="setup-title"
class="setup-card"
/> does not contain: <input
id="volume"
max="100"
min="0"
type="range"
value="35"
/>
❯ tests/App.test.tsx:53:24
51| const volume = screen.getByRole("slider", { name: "전체 음량" });
52| const start = screen.getByRole("button", { name: /소리 시작/ });
53| expect.soft(setup).toContainElement(volume);
| ^
54| // CSS 배치만 바꾸지 않고 키보드·스크린리더도 음량→시작 순서로 읽어야 한다.
55| expect.soft(volume.compareDocumentPosition(start) & Node.DOCUMENT_…
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/3]⎯
FAIL tests/App.test.tsx > 시작부터 결과까지 사용자 흐름 > 전체 음량을 시작 CTA 앞 설정 카드와 게임 환경 패널에 배치하고 값을 유지한다
AssertionError: expected +0 not to be +0 // Object.is equality
❯ tests/App.test.tsx:55:95
53| expect.soft(setup).toContainElement(volume);
54| // CSS 배치만 바꾸지 않고 키보드·스크린리더도 음량→시작 순서로 읽어야 한다.
55| expect.soft(volume.compareDocumentPosition(start) & Node.DOCUMENT_…
| ^
56| fireEvent.change(volume, { target: { value: "20" } });
57| await f.user.click(start);
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/3]⎯
FAIL tests/App.test.tsx > 시작부터 결과까지 사용자 흐름 > 전체 음량을 시작 CTA 앞 설정 카드와 게임 환경 패널에 배치하고 값을 유지한다
Error: expect(element).toContainElement(element)
<aside
class="environment-panel"
/> does not contain: <input
id="volume"
max="100"
min="0"
type="range"
value="20"
/>
❯ tests/App.test.tsx:59:52
57| await f.user.click(start);
58| const gameVolume = screen.getByRole("slider", { name: "전체 음량" });
59| expect.soft(screen.getByRole("complementary")).toContainElement(ga…
| ^
60| expect(screen.getAllByRole("slider", { name: "전체 음량" })).toHaveLen…
61| expect(gameVolume).toHaveValue("20");
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/3]⎯
Test Files 1 failed (1)
Tests 1 failed | 9 skipped (10)
Start at 05:31:48
Duration 2.03s (tests 44%, environment 38%, setup 8%, transform 6%, import 3%)