Skip to content
Triggered via pull request May 7, 2024 08:34
Status Failure
Total duration 1m 44s
Artifacts

test-unit-snapshot.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
src/containers/Layout/Layout.test.tsx > <Layout /> > renders layout: packages/ui-react/src/containers/Layout/Layout.test.tsx#L20
Error: Snapshot `<Layout /> > renders layout 1` mismatched - Expected + Received @@ -41,24 +41,23 @@ </button> </div> <nav class="_nav_f4f7a7" > - <ul> - <li> - <a - aria-current="page" - class="_button_f8f296 _default_f8f296 _text_f8f296 _active_f8f296 _navButton_f4f7a7" - href="/" - > - <span> - home - </span> - </a> - </li> - </ul> + <a + aria-current="page" + class="_button_f8f296 _default_f8f296 _text_f8f296 _active_f8f296" + href="/" + > + <span> + home + </span> + </a> </nav> + <div + class="_customActions_f4f7a7" + /> <div class="_actions_f4f7a7" /> </div> </header> ❯ src/containers/Layout/Layout.test.tsx:20:23
src/components/Header/Header.test.tsx > <Header /> > renders header: packages/ui-react/src/components/Header/Header.test.tsx#L53
Error: Snapshot `<Header /> > renders header 1` mismatched - Expected + Received @@ -40,10 +40,13 @@ class="_nav_f4f7a7" > a </nav> <div + class="_customActions_f4f7a7" + /> + <div class="_actions_f4f7a7" > <button aria-label="Open search" class="_iconButton_0fef65 _iconButton_f4f7a7 _actionButton_f4f7a7" ❯ src/components/Header/Header.test.tsx:53:23
src/components/Header/Header.test.tsx > <Header /> > renders header with nav buttons: packages/ui-react/src/components/Header/Header.test.tsx#L90
Error: Snapshot `<Header /> > renders header with nav buttons 1` mismatched - Expected + Received @@ -47,10 +47,13 @@ a </li> </ul> </nav> <div + class="_customActions_f4f7a7" + /> + <div class="_actions_f4f7a7" > <button aria-label="Open search" class="_iconButton_0fef65 _iconButton_f4f7a7 _actionButton_f4f7a7" ❯ src/components/Header/Header.test.tsx:90:23
test (18.x)
Process completed with exit code 1.
test (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.