Skip to content

Merge branch 'main' of https://github.com/szilvia-csernus/rabbit_rescue #50

Merge branch 'main' of https://github.com/szilvia-csernus/rabbit_rescue

Merge branch 'main' of https://github.com/szilvia-csernus/rabbit_rescue #50

Triggered via push April 30, 2024 21:06
Status Failure
Total duration 1m 10s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors
src/Components/ThanksVolunteer.test.jsx > renders ThanksVolunteer modal: frontend/src/Components/ThanksVolunteer.test.jsx#L32
TestingLibraryElementError: Unable to find an accessible element with the role "heading" and name `/thanks for your interest/i` Here are the accessible roles: heading: Name "Thank you for your enquiry!": <h2 class="_header_9630f6" /> -------------------------------------------------- button: Name "Close": <button class="_button_2a3253 _secondary_2a3253 undefined" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div id="overlay" > <div class="_backdrop_237fdc" /> <div class="_overlay_237fdc" > <div class="_center_237fdc" > <section class="_content_9630f6" data-testid="thanks-volunteer" > <h2 class="_header_9630f6" > Thank you for your enquiry! </h2> <div class="_body_9630f6" > <p> We will be in touch soon. </p> <div class="_footer_9630f6" > <button class="_button_2a3253 _secondary_2a3253 undefined" > Close </button> </div> </div> </section> </div> </div> </div> <div /> </body> ❯ Object.getElementError node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ getByRole node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/Components/ThanksVolunteer.test.jsx:32:26
test
Process completed with exit code 1.