WD-11707 - feat: OIDC ws login (#1776) #15
Annotations
2 errors and 1 warning
src/panels/CharmsAndActionsPanel/CharmsAndActionsPanel.test.tsx > CharmsAndActionsPanel > should render CharmsPanel when there is no unique charm:
src/panels/CharmsAndActionsPanel/CharmsAndActionsPanel.test.tsx#L146
TestingLibraryElementError: Unable to find an accessible element with the role "radio"
Here are the accessible roles:
dialog:
Name "Choose applications of charm:":
<aside
aria-labelledby=":r5:"
class="l-aside is-narrow l-aside--initially-offscreen"
data-testid="charms-and-actions-panel"
role="dialog"
/>
--------------------------------------------------
heading:
Name "Choose applications of charm:":
<h4
class="p-panel__title"
/>
--------------------------------------------------
button:
Name "Close":
<button
class="p-button--base has-icon u-no-margin--bottom"
/>
--------------------------------------------------
alert:
Name "":
<span
aria-live="polite"
class="p-text--default"
role="alert"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
style="position: fixed; z-index: 9999; top: 16px; left: 16px; right: 16px; bottom: 16px; pointer-events: none;"
/>
<aside
aria-labelledby=":r5:"
class="l-aside is-narrow l-aside--initially-offscreen"
data-testid="charms-and-actions-panel"
role="dialog"
>
<div
class="p-panel side-panel"
>
<div
class="p-panel__header"
>
<h4
class="p-panel__title"
>
<span
id=":r5:"
>
Choose applications of charm:
</span>
</h4>
<div
class="p-panel__controls"
>
<button
class="p-button--base has-icon u-no-margin--bottom"
>
<i
class="p-icon--close"
>
Close
</i>
</button>
</div>
</div>
<div
class="p-panel__content"
>
<div
class="loading"
>
<span
aria-live="polite"
class="p-text--default"
role="alert"
>
<i
class="p-icon--spinner u-animation--spin"
>
Loading
</i>
</span>
</div>
</div>
</div>
</aside>
</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:109:15
❯ src/panels/CharmsAndActionsPanel/CharmsAndActionsPanel.test.tsx:146:33
|
TICS (18.x)
Process completed with exit code 1.
|
TICS (18.x)
No files were found with the provided path: /tmp/tics/ticstmpdir. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
juju-dashboard-coverage
Expired
|
391 KB |
|