Skip to content

web-wallet: Update AddressPicker to show Default Profile label #4528

web-wallet: Update AddressPicker to show Default Profile label

web-wallet: Update AddressPicker to show Default Profile label #4528

Triggered via pull request December 17, 2024 16:35
Status Failure
Total duration 2m 50s
Artifacts

webwallet_ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
src/lib/components/__tests__/AddressPicker.spec.js > AddressPicker > renders the AddressPicker component: web-wallet/src/lib/components/__tests__/AddressPicker.spec.js#L27
Error: Snapshot `AddressPicker > renders the AddressPicker component 1` mismatched - Expected + Received @@ -6,11 +6,11 @@ aria-haspopup="true" class="address-picker__trigger" role="button" tabindex="0" > - <p> + <span> Default Profile - </p> + </span> </div> </div> ❯ src/lib/components/__tests__/AddressPicker.spec.js:27:41
src/lib/components/__tests__/AddressPicker.spec.js > AddressPicker > should be able to render the component if the current profile is `null`: web-wallet/src/lib/components/__tests__/AddressPicker.spec.js#L36
Error: Snapshot `AddressPicker > should be able to render the component if the current profile is `null` 1` mismatched - Expected + Received @@ -6,11 +6,11 @@ aria-haspopup="true" class="address-picker__trigger" role="button" tabindex="0" > - <p> + <span> Default Profile - </p> + </span> </div> </div> ❯ src/lib/components/__tests__/AddressPicker.spec.js:36:41
src/lib/stores/__tests__/walletStore.spec.js > Wallet store > Wallet store transfers > should expose a method to execute a phoenix transfer, if the receiver is a phoenix address: web-wallet/src/lib/stores/__tests__/walletStore.spec.js#L449
AssertionError: expected "balance" to be called 2 times, but got 0 times ❯ walletStoreTransferCheck src/lib/stores/__tests__/walletStore.spec.js:449:26 ❯ src/lib/stores/__tests__/walletStore.spec.js:530:7
src/lib/stores/__tests__/walletStore.spec.js > Wallet store > Wallet store transfers > should expose a method to unstake the staked amount: web-wallet/src/lib/stores/__tests__/walletStore.spec.js#L151
Error: Timers are not mocked. Try calling "vi.useFakeTimers()" first. ❯ src/lib/stores/__tests__/walletStore.spec.js:151:14
src/lib/stores/__tests__/walletStore.spec.js > Wallet store > Wallet store services > should expose a method to clear local data: web-wallet/src/lib/stores/__tests__/walletStore.spec.js#L151
Error: Timers are not mocked. Try calling "vi.useFakeTimers()" first. ❯ src/lib/stores/__tests__/walletStore.spec.js:151:14
src/lib/stores/__tests__/walletStore.spec.js > Wallet store > Wallet store services > should expose a method to clear local data and init the wallet: web-wallet/src/lib/stores/__tests__/walletStore.spec.js#L151
Error: Timers are not mocked. Try calling "vi.useFakeTimers()" first. ❯ src/lib/stores/__tests__/walletStore.spec.js:151:14
src/lib/stores/__tests__/walletStore.spec.js > Wallet store > Wallet store services > should reject with an error if the profile is not in the known list: web-wallet/src/lib/stores/__tests__/walletStore.spec.js#L151
Error: Timers are not mocked. Try calling "vi.useFakeTimers()" first. ❯ src/lib/stores/__tests__/walletStore.spec.js:151:14
changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636