Skip to content

Create Tests

Create Tests #2

Triggered via pull request September 17, 2026 20:31
@henrygrhenrygr
synchronize #32
test
Status Failure
Total duration 1m 18s
Artifacts

ci.yaml

on: pull_request
lint-and-format
28s
lint-and-format
Fit to window
Zoom out
Zoom in

Annotations

2 errors
tests/App.test.tsx > App > renders the location list and selected city: tests/App.test.tsx#L20
TestingLibraryElementError: Unable to find an element with the text: Selected city: sørumsand. 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> <section id="center" > <div> Location list </div> <div> Selected city: Sørumsand </div> </section> <section id="spacer" /> </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 ❯ tests/App.test.tsx:20:19
lint-and-format
Process completed with exit code 1.