Skip to content

feat: redesign send rpc transfer flow #7260

feat: redesign send rpc transfer flow

feat: redesign send rpc transfer flow #7260

Triggered via pull request December 13, 2024 13:51
Status Success
Total duration 4m 54s
Artifacts 1

playwright.yml

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

Annotations

9 errors, 25 warnings, and 10 notices
[chromium] › specs/profile/profile.spec.ts:21:3 › Profile updating › should show an error for invalid profile: tests/page-object-models/onboarding.page.ts#L303
1) [chromium] › specs/profile/profile.spec.ts:21:3 › Profile updating › should show an error for invalid profile Error: Unable to initialised wallet state at page-object-models/onboarding.page.ts:303 301 | 302 | do { > 303 | if (iterationCounter.getValue() > 5) throw new Error('Unable to initialised wallet state'); | ^ 304 | 305 | await this.page.evaluate( 306 | async walletState => chrome.storage.local.set({ 'persist:root': walletState }), at OnboardingPage.signInWithTestAccount (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:303:50) at /home/runner/work/extension/extension/tests/specs/profile/profile.spec.ts:17:5
[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
[chromium] › specs/send/send-stx.spec.ts:79:3 › send stx: tests on testnet › that asset value: tests/specs/send/send-stx.spec.ts#L105
1) [chromium] › specs/send/send-stx.spec.ts:79:3 › send stx: tests on testnet › that asset value, recipient, memo and fees on preview match input Error: expect(received).toEqual(expected) // deep equality Expected: "STX" Received: "0.0004 STX" 103 | .getByTestId(SharedComponentsSelectors.InfoCardRowValue) 104 | .innerText(); > 105 | test.expect(confirmationFees).toEqual(fees); | ^ 106 | 107 | const confirmationMemo2 = await sendPage.memoRow 108 | .getByTestId(SharedComponentsSelectors.InfoCardRowValue) at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:105:35
[chromium] › specs/send/send-stx.spec.ts:230:5 › send stx: tests on mainnet › send form input fields › that fee row defaults to middle fee estimation: tests/specs/send/send-stx.spec.ts#L237
2) [chromium] › specs/send/send-stx.spec.ts:230:5 › send stx: tests on mainnet › send form input fields › that fee row defaults to middle fee estimation Error: expect(received).toEqual(expected) // deep equality Expected: true Received: false 235 | // Using min/max fee caps 236 | const isMiddleFee = fee === 0.0004; > 237 | test.expect(isMiddleFee).toEqual(true); | ^ 238 | }); 239 | 240 | test('that low fee estimate can be selected', async ({ sendPage }) => { at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:237:32
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:117:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise rejects when user closes popup window: tests/specs/rpc-get-addresses/get-addresses.spec.ts#L1
1) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:117:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise rejects when user closes popup window Test timeout of 30000ms exceeded.
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:117:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise rejects when user closes popup window: tests/specs/rpc-get-addresses/get-addresses.spec.ts#L118
1) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:117:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise rejects when user closes popup window Error: page.goto: Target page, context or browser has been closed Call log: - navigating to "localhost:3000", waiting until "load" 116 | 117 | test('the promise rejects when user closes popup window', async ({ page, context }) => { > 118 | await page.goto('localhost:3000'); | ^ 119 | const getAddressesPromise = initiateGetAddresses(page); 120 | const popup = await interceptRequestPopup(context); 121 | await popup.close(); at /home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:118:20
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise resolves with addresses successfully: tests/specs/rpc-get-addresses/get-addresses.spec.ts#L1
2) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise resolves with addresses successfully Test timeout of 30000ms exceeded.
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise resolves with addresses successfully: tests/specs/rpc-get-addresses/get-addresses.spec.ts#L104
2) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › 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
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/transactions/transactions.spec.ts#L1
[chromium] › specs/transactions/transactions.spec.ts took 29.4s
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-transaction/manage-transaction.spec.ts#L1
[chromium] › specs/manage-transaction/manage-transaction.spec.ts took 16.8s
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
Slow Test: [chromium] › specs/settings/settings.spec.ts#L1
[chromium] › specs/settings/settings.spec.ts took 45.2s
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-btc.spec.ts#L1
[chromium] › specs/send/send-btc.spec.ts took 50.5s
Slow Test: [chromium] › specs/send/send-inscription.spec.ts#L1
[chromium] › specs/send/send-inscription.spec.ts took 38.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 48.4s
Slow Test: [chromium] › specs/compliance-checks/compliance-checks.spec.ts#L1
[chromium] › specs/compliance-checks/compliance-checks.spec.ts took 25.1s
Slow Test: [chromium] › specs/fund/fund.spec.ts#L1
[chromium] › specs/fund/fund.spec.ts took 15.6s
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.1m
Slow Test: [chromium] › specs/message-signing/bip322-message-signing.spec.ts#L1
[chromium] › specs/message-signing/bip322-message-signing.spec.ts took 18.6s
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/onboarding/onboarding.spec.ts#L1
[chromium] › specs/onboarding/onboarding.spec.ts took 59.4s
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/rpc-sign-psbt/sign-psbt.spec.ts#L1
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts took 39.0s
Slow Test: [chromium] › specs/rpc-open/open.spec.ts#L1
[chromium] › specs/rpc-open/open.spec.ts took 23.6s
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
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
Merge reports
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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/
🎭 Playwright Run Summary
1 skipped 3 passed (41.1s)
🎭 Playwright Run Summary
4 passed (36.2s)
🎭 Playwright Run Summary
6 passed (50.2s)
🎭 Playwright Run Summary
11 passed (1.6m)
🎭 Playwright Run Summary
17 passed (1.7m)
🎭 Playwright Run Summary
11 passed (1.5m)
🎭 Playwright Run Summary
1 flaky [chromium] › specs/profile/profile.spec.ts:21:3 › Profile updating › should show an error for invalid profile 8 passed (1.9m)
🎭 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 8 passed (1.9m)
🎭 Playwright Run Summary
2 flaky [chromium] › specs/send/send-stx.spec.ts:79:3 › send stx: tests on testnet › that asset value, recipient, memo and fees on preview match input [chromium] › specs/send/send-stx.spec.ts:230:5 › send stx: tests on mainnet › send form input fields › that fee row defaults to middle fee estimation 15 passed (2.6m)
🎭 Playwright Run Summary
2 flaky [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:117:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise rejects when user closes popup window [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise resolves with addresses successfully 9 passed (2.5m)

Artifacts

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