feat: support filtering for warnings only on the review page #2068
website-tests.yml
on: pull_request
Check format and types
2m 2s
Unit Tests
45s
Annotations
2 errors
src/components/ReviewPage/ReviewPage.spec.tsx > ReviewPage > should render the review page and show button to bulk delete/approve all erroneous sequences:
website/src/components/ReviewPage/ReviewPage.spec.tsx#L189
TestingLibraryElementError: Unable to find an element with the text: Confirm. 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
class="react-confirm-alert-body-element"
>
<div
class="react-confirm-alert-blur"
>
<div
class=""
>
<div
class="sticky top-0 z-10"
>
<div
class="flex sm:justify-between items-bottom flex-col md:flex-row gap-5 bg-white pb-1"
>
<div
aria-hidden="true"
class="flex flex-col"
inert=""
>
<div
class="text-gray-600 mr-3"
>
2
of
2
sequences processed
</div>
<div
class="border border-slate-200 p-3 mt-3 flex gap-6 items-end h-24"
>
<div
class="flex flex-col justify-between h-full"
>
<svg
class="w-4 h-4 mr-1.5 inline-block text-gray-500 mt-0.5"
height="1.2em"
viewBox="0 0 24 24"
width="1.2em"
>
<path
d="M22 3H2l8 9.46V19l4 2v-8.54z"
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
/>
</svg>
<div
class="flex items-center gap-3 text-sm text-gray-700"
>
<label>
<input
class="mr-2 text-gray-400"
type="checkbox"
/>
<span
class=" inline-block font-semibold "
>
0
</span>
awaiting processing
</label>
</div>
</div>
<div
class="border-t-2 border-primary-600 flex gap-6 items-end h-full pt-1"
>
<div
class="flex flex-col justify-between h-full"
>
<div
class="text-gray-500 text-xs"
>
2
processed
</div>
<div
class="flex items-center gap-3 text-sm text-gray-700"
>
<label>
<input
class="mr-2 text-gray-400"
type="checkbox"
/>
<span
class=" inline-block font-semibold "
>
1
</span>
with errors
</label>
</div>
</div>
<div
class="border-t-2 border-primary-400 pt-1 h-full mt-6 flex flex-col justify-between"
>
<div
class="text-gray-500 text-xs mb-auto"
>
<span
class=""
>
1
</span>
submittable
</div>
<div
class="flex gap-6"
>
<div
class="flex items-center gap-3 text-sm text-gray-700"
>
<label>
<input
class="mr-2 text-gray-400"
type="checkbox"
/>
<span
|
Unit Tests
Process completed with exit code 1.
|