Skip to content

Feat/setup router and theme #26

Feat/setup router and theme

Feat/setup router and theme #26

Triggered via pull request July 9, 2024 23:26
Status Failure
Total duration 33s
Artifacts

ci.yml

on: pull_request
Matrix: test
coverage
0s
coverage
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
src/App.spec.tsx > renders test text: src/App.spec.tsx#L7
TestingLibraryElementError: Unable to find an element with the text: /test/i. 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="MuiBox-root css-1yeiifd" > <div> <div class="MuiDrawer-root MuiDrawer-docked css-mrxozk-MuiDrawer-docked" > <div class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation0 MuiDrawer-paper MuiDrawer-paperAnchorLeft MuiDrawer-paperAnchorDockedLeft css-12i7wg6-MuiPaper-root-MuiDrawer-paper" > <ul class="MuiList-root MuiList-padding css-h4y409-MuiList-root" > <div class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-bshv44-MuiButtonBase-root-MuiListItem-root" role="button" tabindex="0" > <div class="MuiListItemText-root css-tlelie-MuiListItemText-root" > <span class="MuiTypography-root MuiTypography-body1 MuiListItemText-primary css-10hburv-MuiTypography-root" > Item 1 </span> </div> <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </div> <div class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-bshv44-MuiButtonBase-root-MuiListItem-root" role="button" tabindex="0" > <div class="MuiListItemText-root css-tlelie-MuiListItemText-root" > <span class="MuiTypography-root MuiTypography-body1 MuiListItemText-primary css-10hburv-MuiTypography-root" > Item 2 </span> </div> <span class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root" /> </div> </ul> </div> </div> </div> <div class="MuiBox-root css-oeeumh" > <main class="MuiBox-root css-1kwrpx3" > <div> Dashboard </div> </main> </div> </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.spec.tsx:7:30
test/node 18/ubuntu-latest
Process completed with exit code 1.
test/node 17/ubuntu-latest
The job was canceled because "ubuntu-latest_18" failed.
test/node 17/ubuntu-latest
The operation was canceled.
test/node 18/ubuntu-latest
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/