10 KiB
10 KiB
RUN v5.0.4 /home/hermes/worktrees/find-word-v0.2.3
❯ tests/App.test.tsx (21 tests | 1 failed | 20 skipped) 303ms
× 세 문항 라운드에서 가능한 연속 정답 보너스 상한을 설명한다 301ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
FAIL tests/App.test.tsx > 세 문항 라운드에서 가능한 연속 정답 보너스 상한을 설명한다
TestingLibraryElementError: Unable to find an element with the text: 단계 × 100점 + 연속 정답 보너스 (라운드 내 최대 20점). This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<a
class="skip-link"
href="#main"
>
본문으로 건너뛰기
</a>
<header
class="header wrap"
>
<div
class="brand"
>
<span
aria-hidden="true"
class="brand-mark"
>
<i />
<i />
<i />
<i />
</span>
<h1>
단어를 맞춰라
</h1>
<span
class="version"
>
v0.2.3
</span>
</div>
<div
class="header-actions"
>
<span
class="little-dot"
/>
소리에 집중하는 시간
</div>
</header>
<main
class="wrap"
id="main"
tabindex="-1"
>
<section
class="results-panel panel"
>
<span
class="eyebrow"
>
지금까지의 소리 탐험
</span>
<div
class="result-mascot"
>
<div
aria-hidden="true"
class="mascot small"
>
<span
class="ear left"
/>
<span
class="ear right"
/>
<span
class="eye left"
/>
<span
class="eye right"
/>
<span
class="smile"
/>
<b>
S
</b>
</div>
</div>
<h2
tabindex="-1"
>
문제 풀이를 종료했어요.
</h2>
<p
class="muted"
>
작은 소리에 집중한 당신, 다음 탐험에서도 만나요.
</p>
<p>
응답
0
문항 · 정답
0
문항
</p>
<div
class="stats"
>
<div>
<strong>
0
</strong>
<span>
총 점수
</span>
</div>
<div>
<strong>
0
%
</strong>
<span>
정답률 ·
0
/
0
</span>
</div>
<div>
<strong>
0
<small>
회
</small>
</strong>
<span>
최고 연속 정답
</span>
</div>
</div>
<table
aria-label="난이도별 결과"
>
<thead>
<tr>
<th
scope="col"
>
난이도
</th>
<th
scope="col"
>
SNR
</th>
<th
scope="col"
>
맞힌 문제
</th>
</tr>
</thead>
<tbody>
<tr>
<th
scope="row"
>
1
단계
</th>
<td>
SNR +6 dB
</td>
<td>
0
/
0
</td>
</tr>
<tr>
<th
scope="row"
>
2
단계
</th>
<td>
SNR +3 dB
</td>
<td>
0
/
0
</td>
</tr>
<tr>
<th
scope="row"
>
3
단계
</th>
<td>
SNR 0 dB
</td>
<td>
0
/
0
</td>
</tr>
<tr>
<th
scope="row"
>
4
단계
</th>
<td>
SNR -3 dB
</td>
<td>
0
/
0
</td>
</tr>
<tr>
<th
scope="row"
>
5
단계
</th>
<td>
SNR -6 dB
</td>
<td>
0
/
0
</td>
</tr>
</tbody>
</table>
<p
class="muted"
>
단계 × 100점 + 연속 정답 보너스 (최대 40점)
</p>
<button
class="secondary"
>
처음 화면으로
</button>
</section>
<div
class="volume-row"
>
<label
for="volume"
>
<span
aria-hidden="true"
>
◖))
</span>
전체 음량
</label>
<input
id="volume"
max="100"
min="0"
type="range"
value="35"
/>
<output
for="volume"
>
35
%
</output>
</div>
</main>
<footer
class="footer wrap"
>
<p>
Designed by OZ at Heat-T Medical Inc.
</p>
<p>
청각적 주의·식별 게임 · 의료적 진단이나 치료를 제공하지 않습니다.
</p>
<span>
개인정보 수집 없이, 오직 플레이만.
</span>
<a
href="/AMBIENCE_NOTICES.md"
>
환경음 출처·라이선스
</a>
</footer>
</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:504:17
502| await f.user.click(screen.getByRole("button", {name: "게임 시작 · 소리 듣기"…
503| await f.user.click(screen.getByRole("button", {name: "문제 풀이 종료"}));
504| expect(screen.getByText("단계 × 100점 + 연속 정답 보너스 (라운드 내 최대 20점)")).toB…
| ^
505| await f.finish();
506| });
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
Test Files 1 failed (1)
Tests 1 failed | 20 skipped (21)
Start at 08:17:33
Duration 1.26s (environment 49%, tests 27%, transform 12%, setup 8%, import 4%, worker 1%)