Skip to content

Set up ESLint with Vite & run in CI #3592

Set up ESLint with Vite & run in CI

Set up ESLint with Vite & run in CI #3592

Triggered via pull request January 3, 2025 11:54
Status Failure
Total duration 2m 21s
Artifacts 1

ci.yml

on: pull_request
Matrix: linting
Create 'production' build
1m 42s
Create 'production' build
Run Javascript tests
2m 8s
Run Javascript tests
Build (and push) Docker image
1m 55s
Build (and push) Docker image
Publish the NPM package
0s
Publish the NPM package
update-docker-readme  /  Generate and update Docker Hub description
update-docker-readme / Generate and update Docker Hub description
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 5 warnings
src/components/FormStart/tests.spec.jsx > Form start does not start if there are auth errors / _digid-message=error: src/components/FormStart/tests.spec.jsx#L69
TestingLibraryElementError: Unable to find an element with the text: Inloggen bij deze organisatie is niet gelukt. Probeert u het later nog een keer. Lukt het nog steeds niet? Log in bij Mijn DigiD. Zo controleert u of uw DigiD goed werkt. Mogelijk is er een storing bij de organisatie waar u inlogt.. 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> <div class="openforms-card" > <div class="openforms-loading openforms-loading--centered openforms-loading--only-child" role="status" > <span class="openforms-loading__spinner" /> <span class="sr-only" > Loading... </span> </div> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="openforms-card" > <div class="openforms-loading openforms-loading--centered openforms-loading--only-child" role="status" > <span class="openforms-loading__spinner" /> <span class="sr-only" > Loading... </span> </div> </div> </div> </body> ❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ findByText node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ src/components/FormStart/tests.spec.jsx:69:25
src/components/FormStart/tests.spec.jsx > Form start does not start if there are auth errors / _digid-message=login-cancelled: src/components/FormStart/tests.spec.jsx#L69
TestingLibraryElementError: Unable to find an element with the text: Je hebt het inloggen met DigiD geannuleerd.. 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> <div class="openforms-card" > <div class="openforms-loading openforms-loading--centered openforms-loading--only-child" role="status" > <span class="openforms-loading__spinner" /> <span class="sr-only" > Loading... </span> </div> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="openforms-card" > <div class="openforms-loading openforms-loading--centered openforms-loading--only-child" role="status" > <span class="openforms-loading__spinner" /> <span class="sr-only" > Loading... </span> </div> </div> </div> </body> ❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ findByText node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ src/components/FormStart/tests.spec.jsx:69:25
src/components/FormStart/tests.spec.jsx > Form start does not start if there are auth errors / _eherkenning-message=error: src/components/FormStart/tests.spec.jsx#L69
TestingLibraryElementError: Unable to find an element with the text: Er is een fout opgetreden bij het inloggen met EHerkenning. Probeer het later opnieuw.. 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> <div class="openforms-card" > <div class="openforms-loading openforms-loading--centered openforms-loading--only-child" role="status" > <span class="openforms-loading__spinner" /> <span class="sr-only" > Loading... </span> </div> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="openforms-card" > <div class="openforms-loading openforms-loading--centered openforms-loading--only-child" role="status" > <span class="openforms-loading__spinner" /> <span class="sr-only" > Loading... </span> </div> </div> </div> </body> ❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ findByText node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ src/components/FormStart/tests.spec.jsx:69:25
src/components/FormStart/tests.spec.jsx > Form start does not start if there are auth errors / _eherkenning-message=login-cancelled: src/components/FormStart/tests.spec.jsx#L69
TestingLibraryElementError: Unable to find an element with the text: Je hebt het inloggen met EHerkenning geannuleerd.. 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> <div class="openforms-card" > <div class="openforms-loading openforms-loading--centered openforms-loading--only-child" role="status" > <span class="openforms-loading__spinner" /> <span class="sr-only" > Loading... </span> </div> </div> </div> </body> Ignored nodes: comments, script, style <body> <div> <div class="openforms-card" > <div class="openforms-loading openforms-loading--centered openforms-loading--only-child" role="status" > <span class="openforms-loading__spinner" /> <span class="sr-only" > Loading... </span> </div> </div> </div> </body> ❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ findByText node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ src/components/FormStart/tests.spec.jsx:69:25
src/components/Summary/test.spec.jsx > Summary displays logout button if isAuthenticated is true: src/components/Summary/test.spec.jsx#L63
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Uitloggen" Here are the accessible roles: status: Name "": <div class="openforms-loading openforms-loading--centered" role="status" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <div class="openforms-loading openforms-loading--centered" role="status" > <span class="openforms-loading__spinner" /> <span class="sr-only" > Laden... </span> </div> </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 ❯ getByRole node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/components/Summary/test.spec.jsx:63:17
src/components/Summary/test.spec.jsx > Summary displays abort button if isAuthenticated is false: src/components/Summary/test.spec.jsx#L111
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. ❯ src/components/Summary/test.spec.jsx:111:60
Run Javascript tests
Process completed with exit code 1.
Lint code (ESLint)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint code (Prettier)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Create 'production' build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build (and push) Docker image
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Javascript tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
sdk-build Expired
4.98 MB