Merge origin UIIN-2452 #5771
GitHub Actions / Jest Unit Test Results
failed
Oct 24, 2023 in 0s
1 fail, 2 skipped, 884 pass in 11m 21s
Annotations
Check warning on line 0 in MemberTenantHoldings should render Add holdings button
github-actions / Jest Unit Test Results
MemberTenantHoldings should render Add holdings button (MemberTenantHoldings should render Add holdings button) failed
artifacts/jest-junit/junit.xml
Raw output
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Add holdings"
Here are the accessible roles:
heading:
Name "College":
<h3
class="headline size-medium margin-none font-weight-bold block"
data-test-headline="true"
/>
--------------------------------------------------
button:
Name "College":
<button
aria-controls="accordion5"
aria-expanded="false"
class="defaultCollapseButton"
id="accordion-toggle-button-College-holdings"
type="button"
/>
--------------------------------------------------
region:
Name "College":
<div
aria-labelledby="accordion-toggle-button-College-holdings"
class="content-region"
data-test-accordion-wrapper="true"
id="accordion5"
role="region"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<section
class="accordion hasSeparator memberTenantHoldings"
data-test-accordion-section="true"
id="College-holdings"
>
<div
class="headerWrapper"
tabindex="-1"
>
<div
class="header default"
>
<h3
class="headline size-medium margin-none font-weight-bold block"
data-test-headline="true"
>
<button
aria-controls="accordion5"
aria-expanded="false"
class="defaultCollapseButton"
id="accordion-toggle-button-College-holdings"
type="button"
>
<span
class="headerInner"
>
<span
class="defaultHeaderIcon"
>
<span />
</span>
<div
class="labelArea"
>
College
</div>
</span>
</button>
</h3>
</div>
</div>
<div
class="content-wrap"
style="z-index: 1;"
>
<div
aria-labelledby="accordion-toggle-button-College-holdings"
class="content-region"
data-test-accordion-wrapper="true"
id="accordion5"
role="region"
>
<div
class="memberTenantHoldings"
>
Holdings
</div>
</div>
</div>
</section>
</div>
</body>
at Object.getElementError (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByRole (/home/runner/work/ui-inventory/ui-inventory/src/Instance/InstanceDetails/MemberTenantHoldings/MemberTenantHoldings.test.js:71:19)
at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)
Loading