Handle 404 errors with React Router for manufacturers #4357
ci-build.yml
on: pull_request
Lint & Unit Tests
7m 46s
End-to-End (with mock data) Tests
7m 17s
End-to-End (with api) Tests
7m 52s
Docker
0s
Annotations
3 errors and 3 warnings
src/manufacturer/manufacturerLandingPage.component.test.tsx > Manufacturer Landing page > shows no manufacturer page correctly:
src/manufacturer/manufacturerLandingPage.component.test.tsx#L48
TestingLibraryElementError: Unable to find an element with the text: This manufacturer doesn't exist. Please click the Home button to navigate to the manufacturer table. 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="MuiGrid-root MuiGrid-container css-11lq3yg-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-item css-jc9lyt-MuiGrid-root"
/>
<div
class="MuiBox-root css-8atqhb"
>
<span
class="MuiLinearProgress-root MuiLinearProgress-colorPrimary MuiLinearProgress-indeterminate css-eglki6-MuiLinearProgress-root"
role="progressbar"
>
<span
class="MuiLinearProgress-bar MuiLinearProgress-barColorPrimary MuiLinearProgress-bar1Indeterminate css-5ir5xx-MuiLinearProgress-bar1"
/>
<span
class="MuiLinearProgress-bar MuiLinearProgress-barColorPrimary MuiLinearProgress-bar2Indeterminate css-1r8wrcl-MuiLinearProgress-bar2"
/>
</span>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="MuiGrid-root MuiGrid-container css-11lq3yg-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-item css-jc9lyt-MuiGrid-root"
/>
<div
class="MuiBox-root css-8atqhb"
>
<span
class="MuiLinearProgress-root MuiLinearProgress-colorPrimary MuiLinearProgress-indeterminate css-eglki6-MuiLinearProgress-root"
role="progressbar"
>
<span
class="MuiLinearProgress-bar MuiLinearProgress-barColorPrimary MuiLinearProgress-bar1Indeterminate css-5ir5xx-MuiLinearProgress-bar1"
/>
<span
class="MuiLinearProgress-bar MuiLinearProgress-barColorPrimary MuiLinearProgress-bar2Indeterminate css-1r8wrcl-MuiLinearProgress-bar2"
/>
</span>
</div>
</div>
</div>
</body>
</html>...
❯ Proxy.waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ src/manufacturer/manufacturerLandingPage.component.test.tsx:48:11
|
src/manufacturer/manufacturerTable.component.test.tsx > Manufacturer Table > renders table data correctly:
src/manufacturer/manufacturerTable.component.test.tsx#L36
Error: Snapshot `Manufacturer Table > renders table data correctly 1` mismatched
❯ src/manufacturer/manufacturerTable.component.test.tsx:36:31
|
Lint & Unit Tests
Process completed with exit code 1.
|
End-to-End (with mock data) Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint & Unit Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-End (with api) Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|