feat: add nextjs skeleton for the ui #82
main.yml
on: pull_request
build
11s
go-vet
19s
lint
14s
go-unit-tests
12s
nextjs-unit-tests
8s
Annotations
2 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 no from the Frontend"
Here are the accessible roles:
main:
Name "":
<main />
--------------------------------------------------
heading:
Name "Hello from the Frontend":
<h1 />
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<main>
<h1>
Hello from the Frontend
</h1>
</main>
</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
|
nextjs-unit-tests
Process completed with exit code 1.
|
nextjs-unit-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|