Skip to content

feat: display proper image for src20 tokens #7393

feat: display proper image for src20 tokens

feat: display proper image for src20 tokens #7393

Triggered via pull request January 15, 2025 10:13
Status Failure
Total duration 5m 5s
Artifacts 1

playwright.yml

on: pull_request
Matrix: test
Merge reports
19s
Merge reports
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 27 warnings, and 10 notices
[chromium] › specs/settings/settings.spec.ts:77:3 › Settings menu › that menu item can toggle privacy: tests/specs/settings/settings.spec.ts#L96
1) [chromium] › specs/settings/settings.spec.ts:77:3 › Settings menu › that menu item can toggle privacy Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('account-card-balance-text') Expected string: "$20.15" Received string: "$21.42" Call log: - expect.toHaveText with timeout 5000ms - waiting for getByTestId('account-card-balance-text') - locator resolved to <h1 data-testid="account-card-balance-text" class="leather-textStyle_heading.02 [&[data-state=loading]]:leather-d_inline-block [&[data-state=loading]]:leather--webkit-mask_linear-gradient(-60deg,_#000_30%,_#0005,_#000_70%)_right/300%_100% [&[data-state=loading]]:leather-bg-r_no-repeat [&[data-state=loading]]:leather-anim_shimmer_1.5s_infinite [&[data-state=loading]]:leather-c_ink.text-subdued">…</h1> - unexpected value "$21.42" - locator resolved to <h1 data-testid="account-card-balance-text" class="leather-textStyle_heading.02 [&[data-state=loading]]:leather-d_inline-block [&[data-state=loading]]:leather--webkit-mask_linear-gradient(-60deg,_#000_30%,_#0005,_#000_70%)_right/300%_100% [&[data-state=loading]]:leather-bg-r_no-repeat [&[data-state=loading]]:leather-anim_shimmer_1.5s_infinite [&[data-state=loading]]:leather-c_ink.text-subdued">…</h1> - unexpected value "$21.42" - locator resolved to <h1 data-testid="account-card-balance-text" class="leather-textStyle_heading.02 [&[data-state=loading]]:leather-d_inline-block [&[data-state=loading]]:leather--webkit-mask_linear-gradient(-60deg,_#000_30%,_#0005,_#000_70%)_right/300%_100% [&[data-state=loading]]:leather-bg-r_no-repeat [&[data-state=loading]]:leather-anim_shimmer_1.5s_infinite [&[data-state=loading]]:leather-c_ink.text-subdued">…</h1> - unexpected value "$21.42" - locator resolved to <h1 data-testid="account-card-balance-text" class="leather-textStyle_heading.02 [&[data-state=loading]]:leather-d_inline-block [&[data-state=loading]]:leather--webkit-mask_linear-gradient(-60deg,_#000_30%,_#0005,_#000_70%)_right/300%_100% [&[data-state=loading]]:leather-bg-r_no-repeat [&[data-state=loading]]:leather-anim_shimmer_1.5s_infinite [&[data-state=loading]]:leather-c_ink.text-subdued">…</h1> - unexpected value "$21.42" - locator resolved to <h1 data-testid="account-card-balance-text" class="leather-textStyle_heading.02 [&[data-state=loading]]:leather-d_inline-block [&[data-state=loading]]:leather--webkit-mask_linear-gradient(-60deg,_#000_30%,_#0005,_#000_70%)_right/300%_100% [&[data-state=loading]]:leather-bg-r_no-repeat [&[data-state=loading]]:leather-anim_shimmer_1.5s_infinite [&[data-state=loading]]:leather-c_ink.text-subdued">…</h1> - unexpected value "$21.42" - locator resolved to <h1 data-testid="account-card-balance-text" class="leather-textStyle_heading.02 [&[data-state=loading]]:leather-d_inline-block [&[data-state=loading]]:leather--webkit-mask_linear-gradient(-60deg,_#000_30%,_#0005,_#000_70%)_right/300%_100% [&[data-state=loading]]:leather-bg-r_no-repeat [&[data-state=loading]]:leather-anim_shimmer_1.5s_infinite [&[data-state=loading]]:leather-c_ink.text-subdued">…</h1> - unexpected value "$21.42" - locator resolved to <h1 data-testid="account-card-balance-text" class="leather-textStyle_heading.02 [&[data-state=loading]]:leather-d_inline-block [&[data-state=loading]]:leather--webkit-mask_linear-gradient(-60deg,_#000_30%,_#0005,_#000_70%)_right/300%_100% [&[data-state=loading]]:leather-bg-r_no-repeat [&[data-state=loading]]:leather-anim_shimmer_1.5s_infinite [&[data-state=loading]]:leather-c_ink.text-subdued">…</h1> - unexpected value "$21.42" - locator resolved to <h1 data-testid="account-card-balance-text" class="leather-textStyle_heading.02 [&[data-state=loading]]:leather-d_inline-block [&[data-state=loading]]:leather--webkit-mask_linear-gradient(-60deg,_#000_30%,_#0005,_#000_70%)_right/300%_100% [&[data-state=loading]]:leather-bg-r_no-repeat [&[data-state=loading]]:leather-anim_shimmer_1.5s_infinite [&[data-st
[chromium] › specs/compliance-checks/compliance-checks.spec.ts:77:3 › Compliance checks › the addresses of all recipients are checked: tests/specs/compliance-checks/compliance-checks.spec.ts#L94
1) [chromium] › specs/compliance-checks/compliance-checks.spec.ts:77:3 › Compliance checks › the addresses of all recipients are checked Error: expect(received).toEqual(expected) // deep equality Expected: 2 Received: 1 92 | const userAndRecipientAddressCount = 2; 93 | > 94 | test.expect(entityCheckCount).toEqual(userAndRecipientAddressCount); | ^ 95 | }); 96 | }); 97 | at /home/runner/work/extension/extension/tests/specs/compliance-checks/compliance-checks.spec.ts:94:35
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise resolves with addresses successfully: tests/specs/rpc-get-addresses/get-addresses.spec.ts#L1
1) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise resolves with addresses successfully Test timeout of 30000ms exceeded.
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise resolves with addresses successfully: tests/specs/rpc-get-addresses/get-addresses.spec.ts#L104
1) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise resolves with addresses successfully Error: page.goto: Target page, context or browser has been closed Call log: - navigating to "localhost:3000", waiting until "load" 102 | 103 | test('the promise resolves with addresses successfully', async ({ page, context }) => { > 104 | await page.goto('localhost:3000'); | ^ 105 | const getAddressesPromise = initiateGetAddresses(page); 106 | 107 | const popup = await interceptRequestPopup(context); at /home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:104:20
[chromium] › specs/onboarding/onboarding.spec.ts:14:3 › Onboarding an existing user › going through the onboarding flow to sign in: tests/specs/onboarding/onboarding.spec.ts#L35
1) [chromium] › specs/onboarding/onboarding.spec.ts:14:3 › Onboarding an existing user › going through the onboarding flow to sign in Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 @@ -9,11 +9,11 @@ }, "chains": Object { "stx": Object { "default": Object { "currentAccountIndex": 0, - "highestAccountIndex": 2, + "highestAccountIndex": 0, }, }, }, "ledger": Object { "bitcoin": Object { 33 | delete (testSoftwareAccountDefaultWalletState as any).softwareKeys.entities.default.salt; 34 | > 35 | test.expect(walletState).toEqual(testSoftwareAccountDefaultWalletState); | ^ 36 | }); 37 | 38 | test('mnemonic key validation: should show error for invalid mnemonic key words', async ({ at /home/runner/work/extension/extension/tests/specs/onboarding/onboarding.spec.ts:35:30
[chromium] › specs/onboarding/onboarding.spec.ts:14:3 › Onboarding an existing user › going through the onboarding flow to sign in: tests/specs/onboarding/onboarding.spec.ts#L35
1) [chromium] › specs/onboarding/onboarding.spec.ts:14:3 › Onboarding an existing user › going through the onboarding flow to sign in Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 @@ -9,11 +9,11 @@ }, "chains": Object { "stx": Object { "default": Object { "currentAccountIndex": 0, - "highestAccountIndex": 2, + "highestAccountIndex": 0, }, }, }, "ledger": Object { "bitcoin": Object { 33 | delete (testSoftwareAccountDefaultWalletState as any).softwareKeys.entities.default.salt; 34 | > 35 | test.expect(walletState).toEqual(testSoftwareAccountDefaultWalletState); | ^ 36 | }); 37 | 38 | test('mnemonic key validation: should show error for invalid mnemonic key words', async ({ at /home/runner/work/extension/extension/tests/specs/onboarding/onboarding.spec.ts:35:30
[chromium] › specs/onboarding/onboarding.spec.ts:14:3 › Onboarding an existing user › going through the onboarding flow to sign in: tests/specs/onboarding/onboarding.spec.ts#L35
1) [chromium] › specs/onboarding/onboarding.spec.ts:14:3 › Onboarding an existing user › going through the onboarding flow to sign in Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 @@ -9,11 +9,11 @@ }, "chains": Object { "stx": Object { "default": Object { "currentAccountIndex": 0, - "highestAccountIndex": 2, + "highestAccountIndex": 0, }, }, }, "ledger": Object { "bitcoin": Object { 33 | delete (testSoftwareAccountDefaultWalletState as any).softwareKeys.entities.default.salt; 34 | > 35 | test.expect(walletState).toEqual(testSoftwareAccountDefaultWalletState); | ^ 36 | }); 37 | 38 | test('mnemonic key validation: should show error for invalid mnemonic key words', async ({ at /home/runner/work/extension/extension/tests/specs/onboarding/onboarding.spec.ts:35:30
Shard 3 of 10
Process completed with exit code 1.
[chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer: tests/specs/rpc-stacks-transaction/transaction-signing.spec.ts#L1
1) [chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer Test timeout of 30000ms exceeded.
[chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer: tests/specs/rpc-stacks-transaction/transaction-signing.spec.ts#L38
1) [chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer Error: page.evaluate: Target page, context or browser has been closed 36 | function initiateTxSigning(page: Page) { 37 | return async (txHex: string) => > 38 | page.evaluate( | ^ 39 | async txHex => 40 | (window as any).LeatherProvider.request('stx_signTransaction', { 41 | txHex, at /home/runner/work/extension/extension/tests/specs/rpc-stacks-transaction/transaction-signing.spec.ts:38:12 at /home/runner/work/extension/extension/tests/specs/rpc-stacks-transaction/transaction-signing.spec.ts:63:30
Shard 5 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/rpc-open/open.spec.ts#L1
[chromium] › specs/rpc-open/open.spec.ts took 21.9s
Shard 7 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/send/send-inscription.spec.ts#L1
[chromium] › specs/send/send-inscription.spec.ts took 46.7s
Shard 2 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/manage-tokens/manage-tokens.spec.ts#L1
[chromium] › specs/manage-tokens/manage-tokens.spec.ts took 18.8s
Slow Test: [chromium] › specs/message-signing/bip322-message-signing.spec.ts#L1
[chromium] › specs/message-signing/bip322-message-signing.spec.ts took 17.8s
Slow Test: [chromium] › specs/manage-transaction/manage-transaction.spec.ts#L1
[chromium] › specs/manage-transaction/manage-transaction.spec.ts took 17.7s
Shard 9 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Shard 10 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/swap/swap.spec.ts#L1
[chromium] › specs/swap/swap.spec.ts took 50.1s
Slow Test: [chromium] › specs/transactions/transactions.spec.ts#L1
[chromium] › specs/transactions/transactions.spec.ts took 29.8s
Shard 1 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/ledger/ledger.spec.ts#L1
[chromium] › specs/ledger/ledger.spec.ts took 51.2s
Slow Test: [chromium] › specs/fund/fund.spec.ts#L1
[chromium] › specs/fund/fund.spec.ts took 17.7s
Shard 8 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/send/send-stx.spec.ts#L1
[chromium] › specs/send/send-stx.spec.ts took 2.3m
Shard 4 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/profile/profile.spec.ts#L1
[chromium] › specs/profile/profile.spec.ts took 29.3s
Shard 3 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/network/add-network.spec.ts#L1
[chromium] › specs/network/add-network.spec.ts took 1.2m
Shard 6 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/send/send-btc.spec.ts#L1
[chromium] › specs/send/send-btc.spec.ts took 58.4s
Slow Test: [chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts#L1
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts took 42.2s
Slow Test: [chromium] › specs/rpc-send-transfer/rpc-send-transfer.spec.ts#L1
[chromium] › specs/rpc-send-transfer/rpc-send-transfer.spec.ts took 23.0s
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "all-blob-reports". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
Merge reports
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
2 passed (27.1s)
🎭 Playwright Run Summary
5 passed (51.7s)
🎭 Playwright Run Summary
6 passed (59.3s)
🎭 Playwright Run Summary
1 flaky [chromium] › specs/settings/settings.spec.ts:77:3 › Settings menu › that menu item can toggle privacy 5 passed (1.1m)
🎭 Playwright Run Summary
7 passed (1.6m)
🎭 Playwright Run Summary
1 flaky [chromium] › specs/compliance-checks/compliance-checks.spec.ts:77:3 › Compliance checks › the addresses of all recipients are checked 16 passed (2.0m)
🎭 Playwright Run Summary
17 passed (2.5m)
🎭 Playwright Run Summary
1 flaky [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise resolves with addresses successfully 12 passed (2.5m)
🎭 Playwright Run Summary
1 failed [chromium] › specs/onboarding/onboarding.spec.ts:14:3 › Onboarding an existing user › going through the onboarding flow to sign in 15 passed (2.8m)
🎭 Playwright Run Summary
1 flaky [chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer 14 passed (3.0m)

Artifacts

Produced during runtime
Name Size
all-blob-reports Expired
10 MB