Code Coverage #4567
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
code_coverage.yml
on: workflow_dispatch
Unit Test and SonarCloud Scan
8m 35s
Annotations
2 errors and 1 warning
|
src/App.test.tsx > App tests > Chat service returns 429 Too Many Requests error:
ansible_ai_connect_chatbot/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L331
TestingLibraryElementError: Unable to find an element with the text: Chatbot service is busy with too many requests. (normalized from 'Chatbot service is busy with too many requests. '). 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
id="debug"
>
false
</div>
<div
id="root"
>
<div
class="pf-v6-l-flex pf-m-column pf-m-gap-lg ws-full-page-utils pf-v6-m-dir-ltr "
>
<label
class="pf-v6-c-switch"
data-ouia-component-id="ColorThemeSwitch"
data-ouia-component-type="PF6/Switch"
data-ouia-safe="true"
for="color-theme-switch"
>
<input
aria-labelledby="color-theme-switch-label"
class="pf-v6-c-switch__input"
id="color-theme-switch"
role="switch"
type="checkbox"
/>
<span
class="pf-v6-c-switch__toggle"
/>
<span
aria-hidden="true"
class="pf-v6-c-switch__label"
id="color-theme-switch-label"
>
Dark Mode
</span>
</label>
</div>
<div
style="display: contents;"
>
<button
aria-disabled="false"
aria-expanded="true"
aria-label="Chatbot toggle"
class="pf-v6-c-button pf-m-plain pf-chatbot__button pf-chatbot__button--active pf-chatbot__button--round "
data-ouia-component-id="OUIA-Generated-Button-plain-27"
data-ouia-component-type="PF6/Button"
data-ouia-safe="true"
type="button"
>
<span
class="pf-v6-c-button__icon"
>
<span
class="pf-v6-c-icon pf-m-inline"
>
<span
class="pf-v6-c-icon__content"
>
<svg
aria-hidden="true"
class="pf-v6-svg"
fill="currentColor"
height="1em"
role="img"
viewBox="0 0 320 512"
width="1em"
>
<path
d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"
/>
</svg>
</span>
</span>
</span>
</button>
</div>
<div
class="pf-chatbot pf-chatbot--default "
style="opacity: 1; transform: translateY(0.2101px);"
>
<section
aria-label="Chatbot"
class="pf-chatbot-container pf-chatbot-container--default "
tabindex="-1"
>
<div
class="pf-chatbot__header-container"
>
<div
class="pf-chatbot__header "
>
<div
class="pf-chatbot__header-main undefined"
>
<div
class="pf-chatbot__actions "
>
<div
style="display: contents;"
>
<button
aria-disabled="false"
aria-label="Clear context"
class="pf-v6-c-button pf-m-secondary pf-m-small pf-chatbot__button--response-action "
data-ouia-component-id="OUIA-Generated-Button-secondary-19"
data-ouia-component-type="PF6/Button"
data-ouia-safe="true"
type="button"
>
<span
class="pf-v6-c-button__text"
>
Clear context
</span>
</button>
</div>
</div>
<div
class="pf-v6-l-split__item pf-m-fill pf-chatbot__title "
>
<div
class="pf-v6-l-bullseye"
>
<div
clas
|
|
Unit Test and SonarCloud Scan
Process completed with exit code 1.
|
|
Unit Test and SonarCloud Scan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|