Skip to content

web-wallet: Refactor dashboard to use routes #2375

web-wallet: Refactor dashboard to use routes

web-wallet: Refactor dashboard to use routes #2375

Triggered via pull request August 20, 2024 13:58
Status Failure
Total duration 1m 46s
Artifacts

webwallet_ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
src/routes/(app)/dashboard/__tests__/page.spec.js > Dashboard > should render the dashboard page with the transactions after they are loaded: web-wallet/src/routes/(app)/dashboard/__tests__/page.spec.js#L38
Error: Snapshot `Dashboard > should render the dashboard page with the transactions after they are loaded 1` mismatched - Expected + Received @@ -15,10 +15,25 @@ class="dashboard-nav-item-label svelte-5szabu" > Transact </span> + <span + class="dashboard-nav-item-icons svelte-5szabu" + > + + <svg + class="dusk-icon dusk-icon--size--default" + role="graphics-symbol" + viewBox="0 0 24 24" + > + <path + d="M9,3L5,7H8V14H10V7H13M16,17V10H14V17H11L15,21L19,17H16Z" + /> + </svg> + + </span> </a> </li> <li> @@ -30,10 +45,25 @@ class="dashboard-nav-item-label svelte-5szabu" > Stake </span> + <span + class="dashboard-nav-item-icons svelte-5szabu" + > + + <svg + class="dusk-icon dusk-icon--size--default" + role="graphics-symbol" + viewBox="0 0 24 24" + > + <path + d="M12 3C7.58 3 4 4.79 4 7V17C4 19.21 7.59 21 12 21S20 19.21 20 17V7C20 4.79 16.42 3 12 3M18 17C18 17.5 15.87 19 12 19S6 17.5 6 17V14.77C7.61 15.55 9.72 16 12 16S16.39 15.55 18 14.77V17M18 12.45C16.7 13.4 14.42 14 12 14C9.58 14 7.3 13.4 6 12.45V9.64C7.47 10.47 9.61 11 12 11C14.39 11 16.53 10.47 18 9.64V12.45M12 9C8.13 9 6 7.5 6 7S8.13 5 12 5C15.87 5 18 6.5 18 7S15.87 9 12 9Z" + /> + </svg> + + </span> </a> </li> </ul> ❯ src/routes/(app)/dashboard/__tests__/page.spec.js:38:23
src/routes/(app)/dashboard/__tests__/page.spec.js > Dashboard > should render a card when there is an error getting transactions: web-wallet/src/routes/(app)/dashboard/__tests__/page.spec.js#L50
Error: Snapshot `Dashboard > should render a card when there is an error getting transactions 1` mismatched - Expected + Received @@ -15,10 +15,25 @@ class="dashboard-nav-item-label svelte-5szabu" > Transact </span> + <span + class="dashboard-nav-item-icons svelte-5szabu" + > + + <svg + class="dusk-icon dusk-icon--size--default" + role="graphics-symbol" + viewBox="0 0 24 24" + > + <path + d="M9,3L5,7H8V14H10V7H13M16,17V10H14V17H11L15,21L19,17H16Z" + /> + </svg> + + </span> </a> </li> <li> @@ -30,10 +45,25 @@ class="dashboard-nav-item-label svelte-5szabu" > Stake </span> + <span + class="dashboard-nav-item-icons svelte-5szabu" + > + + <svg + class="dusk-icon dusk-icon--size--default" + role="graphics-symbol" + viewBox="0 0 24 24" + > + <path + d="M12 3C7.58 3 4 4.79 4 7V17C4 19.21 7.59 21 12 21S20 19.21 20 17V7C20 4.79 16.42 3 12 3M18 17C18 17.5 15.87 19 12 19S6 17.5 6 17V14.77C7.61 15.55 9.72 16 12 16S16.39 15.55 18 14.77V17M18 12.45C16.7 13.4 14.42 14 12 14C9.58 14 7.3 13.4 6 12.45V9.64C7.47 10.47 9.61 11 12 11C14.39 11 16.53 10.47 18 9.64V12.45M12 9C8.13 9 6 7.5 6 7S8.13 5 12 5C15.87 5 18 6.5 18 7S15.87 9 12 9Z" + /> + </svg> + + </span> </a> </li> </ul> ❯ src/routes/(app)/dashboard/__tests__/page.spec.js:50:23
Node 20.x
Process completed with exit code 1.