refactor: refactoring navbars #2435
Annotations
6 errors
|
Vitest
Process completed with exit code 1.
|
|
[chromium] __tests__/NavbarTertiary_.test.jsx > mobile shows breadcrumbs and drawer button:
__tests__/NavbarTertiary_.test.jsx#L76
Error: expect(element).toMatchScreenshot()
Screenshot does not match the stored reference.
Expected image dimensions to be 403×33px, but received 360×29px.
Reference screenshot:
/home/runner/work/rescript-lang.org/rescript-lang.org/__tests__/__screenshots__/NavbarTertiary_.test.jsx/mobile-navbar-tertiary-chromium-linux.png
Actual screenshot:
/home/runner/work/rescript-lang.org/rescript-lang.org/.vitest-attachments/__tests__/NavbarTertiary_.test.jsx/mobile-navbar-tertiary-actual-chromium-linux.png
❯ __tests__/NavbarTertiary_.test.jsx:76:45
Caused by: Caused by: Error: Matcher did not succeed in time.
❯ __tests__/NavbarTertiary_.test.jsx:76:9
|
|
[chromium] __tests__/NavbarTertiary_.test.jsx > desktop shows breadcrumbs and edit link:
__tests__/NavbarTertiary_.test.jsx#L57
Error: expect(element).toMatchScreenshot()
Screenshot does not match the stored reference.
Expected image dimensions to be 1027×35px, but received 1280×43px.
Reference screenshot:
/home/runner/work/rescript-lang.org/rescript-lang.org/__tests__/__screenshots__/NavbarTertiary_.test.jsx/desktop-navbar-tertiary-chromium-linux.png
Actual screenshot:
/home/runner/work/rescript-lang.org/rescript-lang.org/.vitest-attachments/__tests__/NavbarTertiary_.test.jsx/desktop-navbar-tertiary-actual-chromium-linux.png
❯ __tests__/NavbarTertiary_.test.jsx:57:45
Caused by: Caused by: Error: Matcher did not succeed in time.
❯ __tests__/NavbarTertiary_.test.jsx:57:9
|
|
[chromium] __tests__/NavbarPrimary_.test.jsx > phone has some things hidden and a mobile nav that can be toggled:
__tests__/NavbarPrimary_.test.jsx#L70
Error: expect(element).toMatchScreenshot()
Screenshot does not match the stored reference.
Expected image dimensions to be 403×44px, but received 360×39px.
Reference screenshot:
/home/runner/work/rescript-lang.org/rescript-lang.org/__tests__/__screenshots__/NavbarPrimary_.test.jsx/mobile-navbar-primary-chromium-linux.png
Actual screenshot:
/home/runner/work/rescript-lang.org/rescript-lang.org/.vitest-attachments/__tests__/NavbarPrimary_.test.jsx/mobile-navbar-primary-actual-chromium-linux.png
❯ __tests__/NavbarPrimary_.test.jsx:70:38
Caused by: Caused by: Error: Matcher did not succeed in time.
❯ __tests__/NavbarPrimary_.test.jsx:70:2
|
|
[chromium] __tests__/NavbarPrimary_.test.jsx > tablet has everything visible:
__tests__/NavbarPrimary_.test.jsx#L45
Error: expect(element).toMatchScreenshot()
Screenshot does not match the stored reference.
Expected image dimensions to be 403×29px, but received 900×64px.
Reference screenshot:
/home/runner/work/rescript-lang.org/rescript-lang.org/__tests__/__screenshots__/NavbarPrimary_.test.jsx/tablet-navbar-primary-chromium-linux.png
Actual screenshot:
/home/runner/work/rescript-lang.org/rescript-lang.org/.vitest-attachments/__tests__/NavbarPrimary_.test.jsx/tablet-navbar-primary-actual-chromium-linux.png
❯ __tests__/NavbarPrimary_.test.jsx:45:45
Caused by: Caused by: Error: Matcher did not succeed in time.
❯ __tests__/NavbarPrimary_.test.jsx:45:9
|
|
[chromium] __tests__/NavbarPrimary_.test.jsx > desktop has everything visible:
__tests__/NavbarPrimary_.test.jsx#L26
Error: expect(element).toMatchScreenshot()
Screenshot does not match the stored reference.
Expected image dimensions to be 403×19px, but received 1280×57px.
Reference screenshot:
/home/runner/work/rescript-lang.org/rescript-lang.org/__tests__/__screenshots__/NavbarPrimary_.test.jsx/desktop-navbar-primary-chromium-linux.png
Actual screenshot:
/home/runner/work/rescript-lang.org/rescript-lang.org/.vitest-attachments/__tests__/NavbarPrimary_.test.jsx/desktop-navbar-primary-actual-chromium-linux.png
❯ __tests__/NavbarPrimary_.test.jsx:26:45
Caused by: Caused by: Error: Matcher did not succeed in time.
❯ __tests__/NavbarPrimary_.test.jsx:26:9
|