Skip to content

feat: Frontend basic #152

feat: Frontend basic

feat: Frontend basic #152

Triggered via pull request June 3, 2024 13:45
Status Failure
Total duration 6m 29s
Artifacts 2

main.yml

on: pull_request
build-nextjs  /  nextjs-build
49s
build-nextjs / nextjs-build
unit-test-frontend  /  nextjs-unit-tests
19s
unit-test-frontend / nextjs-unit-tests
unit-test-gocert  /  go-unit-tests
17s
unit-test-gocert / go-unit-tests
go-vet  /  go-vet
20s
go-vet / go-vet
go-lint  /  lint
14s
go-lint / lint
build-gocert  /  go-build
14s
build-gocert / go-build
rock-build  /  build-rock
4m 52s
rock-build / build-rock
publish  /  publish-rock
publish / publish-rock
rock-scan  /  scan
rock-scan / scan
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
src/app/page.test.tsx > Page: ui/src/app/page.test.tsx#L7
TestingLibraryElementError: Unable to find an accessible element with the role "heading" and name "Hello from the Frontend" There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <div> <div> Home </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 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/app/page.test.tsx:7:19
src/app/certificate_requests/row.test.tsx > Certificate Requests Table Row: ui/src/app/certificate_requests/row.test.tsx#L7
TestingLibraryElementError: Unable to find an accessible element with the role "table" Here are the accessible roles: row: Name "1 CN: example.com SAN: example.com, 127.0.0.1, 1.2.3.4.5.56 outstanding Sign Reject Delete CSR": <tr data-test-model-uuid="2f995dee-392e-4459-8eb9-839c501590af" /> -------------------------------------------------- cell: Name "1": <td class="" data-test-column="id" /> Name "CN: example.com SAN: example.com, 127.0.0.1, 1.2.3.4.5.56": <td class="u-overflow--visible" data-test-column="details" /> Name "outstanding": <td class="" data-test-column="status" /> Name "Sign Reject": <td class="" data-test-column="action" /> Name "Delete CSR": <td class="" data-test-column="delete" /> -------------------------------------------------- paragraph: Name "": <p /> Name "": <p /> -------------------------------------------------- button: Name "Sign": <button /> Name "Reject": <button /> Name "Delete CSR": <button /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <tr data-test-model-uuid="2f995dee-392e-4459-8eb9-839c501590af" > <td class="" data-test-column="id" > 1 </td> <td class="u-overflow--visible" data-test-column="details" > <p> CN: example.com </p> <p> SAN: example.com, 127.0.0.1, 1.2.3.4.5.56 </p> </td> <td class="" data-test-column="status" > outstanding </td> <td class="" data-test-column="action" > <button> Sign </button> <button> Reject </button> </td> <td class="" data-test-column="delete" > <button> Delete CSR </button> </td> </tr> </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 ❯ src/app/certificate_requests/row.test.tsx:7:19
unit-test-frontend / nextjs-unit-tests
Process completed with exit code 1.
rock-build / build-rock
Rockcraft revision not provided. Installing from stable

Artifacts

Produced during runtime
Name Size
frontend-static-files Expired
256 KB
rock Expired
14.7 MB