Skip to content

[CHUX-467] ec-navigation mobile view #1798

[CHUX-467] ec-navigation mobile view

[CHUX-467] ec-navigation mobile view #1798

Triggered via pull request June 11, 2024 13:46
Status Failure
Total duration 2m 18s
Artifacts

ci.yml

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

Annotations

12 errors and 1 warning
src/components/ec-navigation/ec-navigation.spec.ts > EcNavigation > should render with custom attributes: src/components/ec-navigation/ec-navigation.spec.ts#L30
Error: Snapshot `EcNavigation > should render with custom attributes 1` mismatched - Expected + Received @@ -1,10 +1,11 @@ <div class="ec-navigation my-class" data-test="my-data-test ec-navigation" id="test-id" > + <!--v-if--> <div class="ec-navigation__branding" data-test="ec-navigation__branding" > <img ❯ src/components/ec-navigation/ec-navigation.spec.ts:30:29
src/components/ec-navigation/ec-navigation.spec.ts > EcNavigation > should be expanded when isCollapsed is set to false: src/components/ec-navigation/ec-navigation.spec.ts#L35
Error: Snapshot `EcNavigation > should be expanded when isCollapsed is set to false 1` mismatched - Expected + Received @@ -1,9 +1,10 @@ <div class="ec-navigation" data-test="ec-navigation" > + <!--v-if--> <div class="ec-navigation__branding" data-test="ec-navigation__branding" > <img ❯ src/components/ec-navigation/ec-navigation.spec.ts:35:29
src/components/ec-navigation/ec-navigation.spec.ts > EcNavigation > should be collapsed when isCollapsed is set to true: src/components/ec-navigation/ec-navigation.spec.ts#L41
Error: Snapshot `EcNavigation > should be collapsed when isCollapsed is set to true 1` mismatched - Expected + Received @@ -1,9 +1,10 @@ <div class="ec-navigation ec-navigation--is-collapsed" data-test="ec-navigation" > + <!--v-if--> <div class="ec-navigation__branding" data-test="ec-navigation__branding" > <img ❯ src/components/ec-navigation/ec-navigation.spec.ts:41:29
src/components/ec-navigation/ec-navigation.spec.ts > EcNavigation > should be collapsable when isCollapsable is set: src/components/ec-navigation/ec-navigation.spec.ts#L47
Error: Snapshot `EcNavigation > should be collapsable when isCollapsable is set 1` mismatched - Expected + Received @@ -1,9 +1,10 @@ <div class="ec-navigation ec-navigation--is-collapsable" data-test="ec-navigation" > + <!--v-if--> <div class="ec-navigation__branding" data-test="ec-navigation__branding" > <img ❯ src/components/ec-navigation/ec-navigation.spec.ts:47:29
src/components/ec-navigation/ec-navigation.spec.ts > EcNavigation > should not render branding if no logo is given in branding object: src/components/ec-navigation/ec-navigation.spec.ts#L53
Error: Snapshot `EcNavigation > should not render branding if no logo is given in branding object 1` mismatched - Expected + Received @@ -4,10 +4,11 @@ > <!--v-if--> <!--v-if--> <!--v-if--> <!--v-if--> + <!--v-if--> <div class="ec-navigation__block ec-navigation__menu" data-test="ec-navigation__block ec-navigation__menu" > ❯ src/components/ec-navigation/ec-navigation.spec.ts:53:29
src/components/ec-navigation/ec-navigation.spec.ts > EcNavigation > should not render branding if logo is given in branding object but showBrandingLogo is set to false: src/components/ec-navigation/ec-navigation.spec.ts#L62
Error: Snapshot `EcNavigation > should not render branding if logo is given in branding object but showBrandingLogo is set to false 1` mismatched - Expected + Received @@ -4,10 +4,11 @@ > <!--v-if--> <!--v-if--> <!--v-if--> <!--v-if--> + <!--v-if--> <div class="ec-navigation__block ec-navigation__menu" data-test="ec-navigation__block ec-navigation__menu" > ❯ src/components/ec-navigation/ec-navigation.spec.ts:62:29
src/components/ec-navigation/ec-navigation.spec.ts > EcNavigation > should render branding logo and name when given: src/components/ec-navigation/ec-navigation.spec.ts#L70
Error: Snapshot `EcNavigation > should render branding logo and name when given 1` mismatched - Expected + Received @@ -1,9 +1,10 @@ <div class="ec-navigation" data-test="ec-navigation" > + <!--v-if--> <div class="ec-navigation__branding" data-test="ec-navigation__branding" > <img ❯ src/components/ec-navigation/ec-navigation.spec.ts:70:29
src/components/ec-navigation/ec-navigation.spec.ts > EcNavigation > should only render mandatory slot if no other slots were given: src/components/ec-navigation/ec-navigation.spec.ts#L76
Error: Snapshot `EcNavigation > should only render mandatory slot if no other slots were given 1` mismatched - Expected + Received @@ -1,9 +1,10 @@ <div class="ec-navigation" data-test="ec-navigation" > + <!--v-if--> <div class="ec-navigation__branding" data-test="ec-navigation__branding" > <img ❯ src/components/ec-navigation/ec-navigation.spec.ts:76:29
src/components/ec-navigation/ec-navigation.spec.ts > EcNavigation > should render all given slots: src/components/ec-navigation/ec-navigation.spec.ts#L92
Error: Snapshot `EcNavigation > should render all given slots 1` mismatched - Expected + Received @@ -1,9 +1,10 @@ <div class="ec-navigation" data-test="ec-navigation" > + <!--v-if--> <div class="ec-navigation__branding" data-test="ec-navigation__branding" > <img ❯ src/components/ec-navigation/ec-navigation.spec.ts:92:29
src/components/ec-navigation/ec-navigation.spec.ts > EcNavigation > should apply light mode CSS classes if "isInLightMode" prop is true: src/components/ec-navigation/ec-navigation.spec.ts#L109
Error: Snapshot `EcNavigation > should apply light mode CSS classes if "isInLightMode" prop is true 1` mismatched - Expected + Received @@ -1,9 +1,10 @@ <div class="ec-navigation ec-navigation--light-mode" data-test="ec-navigation" > + <!--v-if--> <div class="ec-navigation__branding" data-test="ec-navigation__branding" > <img ❯ src/components/ec-navigation/ec-navigation.spec.ts:109:29
build (18.x)
The job was canceled because "_20_x" failed.
build (18.x)
The operation was canceled.
build (20.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/.