dont allow guess if no guess made #365
Annotations
2 errors
Frontend - run tests:
frontend/tests/pages/RoundEnd.test.jsx#L77
TestingLibraryElementError: Unable to find an element with the text: 1.2. 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>
<div
class="full-page"
>
<header>
<meta
charset="UTF-8"
/>
<meta
content="This is a game where you have to guess a random Pokémon's weight."
name="description"
/>
<title>
Guess the Pokémon's weight
</title>
</header>
<div
class="block w-96 p-6 bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700 font-normal text-gray-700 dark:text-gray-400"
>
<h1
class="mb-2 text-2xl font-semibold tracking-tight text-gray-900 dark:text-white"
data-testid="game-name"
>
Poké Poké Guess Weight!
</h1>
<div
class="m-3"
>
<h2
class="text-2xl"
>
Scores
</h2>
<div
class="relative w-full"
data-testid="carousel"
>
<div
class="flex snap-mandatory overflow-y-hidden overflow-x-hidden scroll-smooth rounded-lg snap-x overflow-hidden !overflow-x-hidden [overflow:-moz-scrollbars-none] [scrollbar-width:none] [&::-webkit-scrollbar]:[-webkit-appearance:none !important] [&::-webkit-scrollbar]:!hidden [&::-webkit-scrollbar]:!h-0 [&::-webkit-scrollbar]:!w-0 [&::-webkit-scrollbar]:!bg-transparent"
>
<div
class="w-full flex-shrink-0 transform cursor-grab snap-center"
data-active="true"
data-testid="carousel-item"
>
<div
class="block w-full pb-4"
>
Last Game
<div
class="relative overflow-y-auto shadow-md sm:rounded-lg max-h-36 my-6"
>
<table
class="w-full text-sm text-center rtl:text-right text-gray-900 dark:text-white"
>
<thead
class="sticky top-0 text-md text-gray-900 uppercase bg-yellow-300 dark:bg-gray-700 dark:text-white"
>
<tr>
<th
class="px-3 py-2"
scope="col"
>
Name
</th>
<th
class="px-3 py-2"
scope="col"
>
Guess
</th>
</tr>
</thead>
<tbody>
<tr
class="bg-white border-b dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600"
>
<td
class="px-3 py-2"
>
<div
class="flex justify-center items-center"
>
Alexia(Host)
</div>
</td>
<td
class="px-3 py-2"
>
3
</td>
</tr>
<tr
class="bg-white border-b dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600"
>
<td
class="px-3 py-2"
>
<div
class="flex justify-center
|
Frontend - run tests
Process completed with exit code 1.
|
Loading