Files
Find-Word/.agent/evidence/06-ui-red.log
T
2026-10-14 06:19:24 +00:00

216 lines
9.1 KiB
Plaintext
Raw 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
RUN v5.0.4 /home/hermes/worktrees/find-word-v0.1
❯ tests/App.test.tsx (6 tests | 6 failed) 192ms
❯ 시작부터 결과까지 사용자 흐름 (6)
× 브랜드·버전·크레딧을 보여주며 직접 시작하기 전에는 재생하지 않는다 147ms
× 재생 동안 답을 숨기고 중복 클릭을 막으며 끝나면 네 선택지에 접근할 수 있다 11ms
× 혼합 모드 열 문제를 키보드·텍스트로 풀고 결과에서 다시 시작한다 9ms
× 오디오 오류를 알리고 재시도하며 나가면 장치를 정리한다 10ms
× 선택한 주관식·배경 환경으로 시작하고 빈 답변을 제출하지 않는다 7ms
× 음량 조절이 엔진에 전달되고 세션 종료 뒤 늦은 완료는 무시한다 6ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 6 ⎯⎯⎯⎯⎯⎯⎯
FAIL tests/App.test.tsx > 시작부터 결과까지 사용자 흐름 > 브랜드·버전·크레딧을 보여주며 직접 시작하기 전에는 재생하지 않는다
TestingLibraryElementError: Unable to find an accessible element with the role "heading" and name "단어를 맞춰라"
Here are the accessible roles:
main:
Name "":
<main />
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<main />
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ tests/App.test.tsx:25:19
23| it('브랜드·버전·크레딧을 보여주며 직접 시작하기 전에는 재생하지 않는다', () => {
24| const f = fixture();
25| expect(screen.getByRole('heading', { name: '단어를 맞춰라' })).toBeInThe…
| ^
26| expect(screen.getByText('Designed by OZ at HearT-M Medical Inc.'))…
27| expect(screen.getByText('v0.1')).toBeInTheDocument();
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/6]⎯
FAIL tests/App.test.tsx > 시작부터 결과까지 사용자 흐름 > 재생 동안 답을 숨기고 중복 클릭을 막으며 끝나면 네 선택지에 접근할 수 있다
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name `/소리 시작/`
Here are the accessible roles:
main:
Name "":
<main />
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<main />
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ tests/App.test.tsx:33:31
31| it('재생 동안 답을 숨기고 중복 클릭을 막으며 끝나면 네 선택지에 접근할 수 있다', async () => {
32| const f = fixture();
33| await f.user.click(screen.getByRole('button', { name: /소리 시작/ }));
| ^
34| expect(f.audio.play).toHaveBeenCalledTimes(1);
35| expect(screen.queryByRole('group', { name: '답 선택' })).not.toBeInTh…
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/6]⎯
FAIL tests/App.test.tsx > 시작부터 결과까지 사용자 흐름 > 혼합 모드 열 문제를 키보드·텍스트로 풀고 결과에서 다시 시작한다
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name `/소리 시작/`
Here are the accessible roles:
main:
Name "":
<main />
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<main />
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ tests/App.test.tsx:51:31
49| const f = fixture();
50| const questions = createQuestions(42, 'mixed');
51| await f.user.click(screen.getByRole('button', { name: /소리 시작/ }));
| ^
52| for (let i = 0; i < questions.length; i++) {
53| if (i) await f.user.click(screen.getByRole('button', { name: /문장…
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/6]⎯
FAIL tests/App.test.tsx > 시작부터 결과까지 사용자 흐름 > 오디오 오류를 알리고 재시도하며 나가면 장치를 정리한다
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name `/소리 시작/`
Here are the accessible roles:
main:
Name "":
<main />
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<main />
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ tests/App.test.tsx:76:31
74| it('오디오 오류를 알리고 재시도하며 나가면 장치를 정리한다', async () => {
75| const f = fixture();
76| await f.user.click(screen.getByRole('button', { name: /소리 시작/ }));
| ^
77| await f.fail();
78| expect(screen.getByRole('alert')).toHaveTextContent(/소리를 재생하지 못했어요…
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/6]⎯
FAIL tests/App.test.tsx > 시작부터 결과까지 사용자 흐름 > 선택한 주관식·배경 환경으로 시작하고 빈 답변을 제출하지 않는다
TestingLibraryElementError: Unable to find an accessible element with the role "radio" and name `/직접 입력/`
Here are the accessible roles:
main:
Name "":
<main />
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<main />
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ tests/App.test.tsx:87:31
85| it('선택한 주관식·배경 환경으로 시작하고 빈 답변을 제출하지 않는다', async () => {
86| const f = fixture();
87| await f.user.click(screen.getByRole('radio', { name: /직접 입력/ }));
| ^
88| await f.user.selectOptions(screen.getByLabelText('배경 환경'), 'rain');
89| await f.user.click(screen.getByRole('button', { name: /소리 시작/ }));
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[5/6]⎯
FAIL tests/App.test.tsx > 시작부터 결과까지 사용자 흐름 > 음량 조절이 엔진에 전달되고 세션 종료 뒤 늦은 완료는 무시한다
TestingLibraryElementError: Unable to find an accessible element with the role "slider" and name "전체 음량"
Here are the accessible roles:
main:
Name "":
<main />
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<main />
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ tests/App.test.tsx:100:29
98| it('음량 조절이 엔진에 전달되고 세션 종료 뒤 늦은 완료는 무시한다', async () => {
99| const f = fixture();
100| fireEvent.change(screen.getByRole('slider', { name: '전체 음량' }), { …
| ^
101| expect(f.audio.setVolume).toHaveBeenCalledWith(.2);
102| await f.user.click(screen.getByRole('button', { name: /소리 시작/ }));
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[6/6]⎯
Test Files 1 failed (1)
Tests 6 failed (6)
Start at 05:01:34
Duration 1.08s (environment 60%, tests 20%, setup 10%, transform 5%, import 4%, worker 1%)