feat(website): One tab for all protein sequences #1607
website-tests.yml
on: pull_request
Check format and types
1m 57s
Unit Tests
44s
Annotations
2 errors
src/components/SequenceDetailsPage/SequenceContainer.spec.tsx > SequencesContainer > should render single segmented sequence:
website/src/components/SequenceDetailsPage/SequenceContainer.spec.tsx#L113
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Aligned"
Here are the accessible roles:
button:
Name "Nucleotide sequence":
<button
class="tab tab-active font-semibold"
/>
Name "Aligned nucleotide sequence":
<button
class="tab "
/>
Name "Amino acid sequences":
<button
class="tab "
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="tabs -mb-px tabs-lifted flex flex-wrap"
>
<button
class="tab tab-active font-semibold"
>
Nucleotide sequence
</button>
<button
class="tab "
>
Aligned nucleotide sequence
</button>
<button
class="tab "
>
Amino acid sequences
</button>
</div>
<div
class="border p-4"
>
<span
class="loading loading-spinner loading-lg"
/>
</div>
</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
❯ src/components/SequenceDetailsPage/SequenceContainer.spec.tsx:113:26
❯ Proxy.act node_modules/react/cjs/react.development.js:2512:16
❯ click src/components/SequenceDetailsPage/SequenceContainer.spec.tsx:113:9
❯ src/components/SequenceDetailsPage/SequenceContainer.spec.tsx:66:9
|
Unit Tests
Process completed with exit code 1.
|