Skip to content

Improve dust txs when sending max amount #5874

Improve dust txs when sending max amount

Improve dust txs when sending max amount #5874

Triggered via pull request May 31, 2024 09:38
Status Failure
Total duration 9m 30s
Artifacts 1

playwright.yml

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

Annotations

19 errors, 23 warnings, and 9 notices
[chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile: tests/page-object-models/onboarding.page.ts#L300
1) [chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile Error: Unable to initialised wallet state at page-object-models/onboarding.page.ts:300 298 | 299 | do { > 300 | if (iterationCounter.getValue() > 5) throw new Error('Unable to initialised wallet state'); | ^ 301 | 302 | await this.page.evaluate( 303 | async walletState => chrome.storage.local.set({ 'persist:root': walletState }), at OnboardingPage.signInWithTestAccount (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:300:50) at /home/runner/work/extension/extension/tests/specs/profile/profile.spec.ts:15:5
[chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount: tests/specs/transactions/transactions.spec.ts#L1
1) [chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount Test timeout of 30000ms exceeded.
[chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount: tests/specs/transactions/transactions.spec.ts#L66
1) [chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount Error: page.waitForRequest: Target page, context or browser has been closed =========================== logs =========================== waiting for request "*/**/v2/transactions" ============================================================ 64 | if (!displayedFee) throw new Error('Cannot pull fee from UI'); 65 | > 66 | const requestPromise = transactionRequestPage.page.waitForRequest('*/**/v2/transactions'); | ^ 67 | 68 | await transactionRequestPage.page.route('*/**/v2/transactions', async route => { 69 | await route.abort(); at /home/runner/work/extension/extension/tests/specs/transactions/transactions.spec.ts:66:58
[chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount: tests/specs/transactions/transactions.spec.ts#L1
1) [chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount: tests/specs/transactions/transactions.spec.ts#L66
1) [chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForRequest: Target page, context or browser has been closed =========================== logs =========================== waiting for request "*/**/v2/transactions" ============================================================ 64 | if (!displayedFee) throw new Error('Cannot pull fee from UI'); 65 | > 66 | const requestPromise = transactionRequestPage.page.waitForRequest('*/**/v2/transactions'); | ^ 67 | 68 | await transactionRequestPage.page.route('*/**/v2/transactions', async route => { 69 | await route.abort(); at /home/runner/work/extension/extension/tests/specs/transactions/transactions.spec.ts:66:58
[chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount: tests/page-object-models/transaction-request.page.ts#L18
1) [chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.click: Target page, context or browser has been closed Call log: - waiting for locator('[data-testid="btn-confirm-transaction"]') - locator resolved to <button disabled type="submit" aria-busy="false" data-te…>Confirm</button> - attempting click action - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #11 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #12 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #13 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #14 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #15 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #16 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #17 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #18 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #19 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #20 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #21 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click
[chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount: tests/specs/transactions/transactions.spec.ts#L1
1) [chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount: tests/specs/transactions/transactions.spec.ts#L66
1) [chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForRequest: Target page, context or browser has been closed =========================== logs =========================== waiting for request "*/**/v2/transactions" ============================================================ 64 | if (!displayedFee) throw new Error('Cannot pull fee from UI'); 65 | > 66 | const requestPromise = transactionRequestPage.page.waitForRequest('*/**/v2/transactions'); | ^ 67 | 68 | await transactionRequestPage.page.route('*/**/v2/transactions', async route => { 69 | await route.abort(); at /home/runner/work/extension/extension/tests/specs/transactions/transactions.spec.ts:66:58
Shard 10 of 10
Process completed with exit code 1.
[chromium] › specs/send/send-stx.spec.ts:35:3 › send stx: tests on testnet › that empty memo on preview matches default empty value: tests/specs/send/send-stx.spec.ts#L1
1) [chromium] › specs/send/send-stx.spec.ts:35:3 › send stx: tests on testnet › that empty memo on preview matches default empty value Test timeout of 30000ms exceeded.
[chromium] › specs/send/send-stx.spec.ts:35:3 › send stx: tests on testnet › that empty memo on preview matches default empty value: tests/specs/send/send-stx.spec.ts#L49
1) [chromium] › specs/send/send-stx.spec.ts:35:3 › send stx: tests on testnet › that empty memo on preview matches default empty value Error: locator.innerText: Target page, context or browser has been closed Call log: - waiting for getByTestId('confirmation-details-memo').getByTestId('info-card-row-value') 47 | const confirmationMemo = await sendPage.memoRow 48 | .getByTestId(SharedComponentsSelectors.InfoCardRowValue) > 49 | .innerText(); | ^ 50 | 51 | test.expect(confirmationMemo).toEqual(emptyMemoPreviewValue); 52 | }); at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:49:8
[chromium] › specs/send/send-stx.spec.ts:35:3 › send stx: tests on testnet › that empty memo on preview matches default empty value: tests/specs/send/send-stx.spec.ts#L1
1) [chromium] › specs/send/send-stx.spec.ts:35:3 › send stx: tests on testnet › that empty memo on preview matches default empty value Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › specs/send/send-stx.spec.ts:35:3 › send stx: tests on testnet › that empty memo on preview matches default empty value: tests/specs/send/send-stx.spec.ts#L49
1) [chromium] › specs/send/send-stx.spec.ts:35:3 › send stx: tests on testnet › that empty memo on preview matches default empty value Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.innerText: Target page, context or browser has been closed Call log: - waiting for getByTestId('confirmation-details-memo').getByTestId('info-card-row-value') 47 | const confirmationMemo = await sendPage.memoRow 48 | .getByTestId(SharedComponentsSelectors.InfoCardRowValue) > 49 | .innerText(); | ^ 50 | 51 | test.expect(confirmationMemo).toEqual(emptyMemoPreviewValue); 52 | }); at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:49:8
[chromium] › specs/send/send-stx.spec.ts:35:3 › send stx: tests on testnet › that empty memo on preview matches default empty value: tests/specs/send/send-stx.spec.ts#L1
1) [chromium] › specs/send/send-stx.spec.ts:35:3 › send stx: tests on testnet › that empty memo on preview matches default empty value Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › specs/send/send-stx.spec.ts:35:3 › send stx: tests on testnet › that empty memo on preview matches default empty value: tests/specs/send/send-stx.spec.ts#L49
1) [chromium] › specs/send/send-stx.spec.ts:35:3 › send stx: tests on testnet › that empty memo on preview matches default empty value Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.innerText: Target page, context or browser has been closed Call log: - waiting for getByTestId('confirmation-details-memo').getByTestId('info-card-row-value') 47 | const confirmationMemo = await sendPage.memoRow 48 | .getByTestId(SharedComponentsSelectors.InfoCardRowValue) > 49 | .innerText(); | ^ 50 | 51 | test.expect(confirmationMemo).toEqual(emptyMemoPreviewValue); 52 | }); at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:49:8
[chromium] › specs/send/send-stx.spec.ts:54:3 › send stx: tests on testnet › that asset value: tests/specs/send/send-stx.spec.ts#L1
2) [chromium] › specs/send/send-stx.spec.ts:54:3 › send stx: tests on testnet › that asset value, recipient, memo and fees on preview match input Test timeout of 30000ms exceeded.
[chromium] › specs/send/send-stx.spec.ts:54:3 › send stx: tests on testnet › that asset value: tests/utils.ts#L21
2) [chromium] › specs/send/send-stx.spec.ts:54:3 › send stx: tests on testnet › that asset value, recipient, memo and fees on preview match input Error: locator.innerText: Target page, context or browser has been closed Call log: - waiting for getByTestId('confirmation-details-recipient').getByTestId('address-displayer') at utils.ts:21 19 | const displayerAddress = await locator 20 | .getByTestId(SharedComponentsSelectors.AddressDisplayer) > 21 | .innerText(); | ^ 22 | 23 | return displayerAddress.replaceAll('\n', ''); 24 | } at getDisplayerAddress (/home/runner/work/extension/extension/tests/utils.ts:21:6) at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:68:36
[chromium] › specs/send/send-stx.spec.ts:54:3 › send stx: tests on testnet › that asset value: tests/specs/send/send-stx.spec.ts#L1
2) [chromium] › specs/send/send-stx.spec.ts:54:3 › send stx: tests on testnet › that asset value, recipient, memo and fees on preview match input Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › specs/send/send-stx.spec.ts:54:3 › send stx: tests on testnet › that asset value: tests/utils.ts#L21
2) [chromium] › specs/send/send-stx.spec.ts:54:3 › send stx: tests on testnet › that asset value, recipient, memo and fees on preview match input Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.innerText: Target page, context or browser has been closed Call log: - waiting for getByTestId('confirmation-details-recipient').getByTestId('address-displayer') at utils.ts:21 19 | const displayerAddress = await locator 20 | .getByTestId(SharedComponentsSelectors.AddressDisplayer) > 21 | .innerText(); | ^ 22 | 23 | return displayerAddress.replaceAll('\n', ''); 24 | } at getDisplayerAddress (/home/runner/work/extension/extension/tests/utils.ts:21:6) at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:68:36
Shard 2 of 10
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Shard 6 of 10
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: [chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts#L1
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts took 1.0m
Shard 9 of 10
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: [chromium] › specs/settings/settings.spec.ts#L1
[chromium] › specs/settings/settings.spec.ts took 55.6s
Shard 3 of 10
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: [chromium] › specs/network/add-network.spec.ts#L1
[chromium] › specs/network/add-network.spec.ts took 49.7s
Slow Test: [chromium] › specs/message-signing/bip322-message-signing.spec.ts#L1
[chromium] › specs/message-signing/bip322-message-signing.spec.ts took 21.1s
Shard 7 of 10
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: [chromium] › specs/send/send-btc.spec.ts#L1
[chromium] › specs/send/send-btc.spec.ts took 1.2m
Slow Test: [chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts#L1
[chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts took 20.7s
Shard 5 of 10
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts#L1
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts took 1.1m
Shard 4 of 10
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: [chromium] › specs/onboarding/onboarding.spec.ts#L1
[chromium] › specs/onboarding/onboarding.spec.ts took 1.2m
Shard 1 of 10
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Slow Test: [chromium] › specs/ledger/ledger.spec.ts#L1
[chromium] › specs/ledger/ledger.spec.ts took 53.4s
Slow Test: [chromium] › specs/fund/fund.spec.ts#L1
[chromium] › specs/fund/fund.spec.ts took 32.8s
Slow Test: [chromium] › specs/compliance-checks/compliance-checks.spec.ts#L1
[chromium] › specs/compliance-checks/compliance-checks.spec.ts took 30.2s
Shard 10 of 10
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Shard 8 of 10
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Merge reports
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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
5 passed (1.1m)
🎭 Playwright Run Summary
5 passed (59.6s)
🎭 Playwright Run Summary
8 passed (1.2m)
🎭 Playwright Run Summary
8 passed (1.6m)
🎭 Playwright Run Summary
10 passed (1.5m)
🎭 Playwright Run Summary
1 flaky [chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile 8 passed (1.8m)
🎭 Playwright Run Summary
3 skipped 15 passed (2.0m)
🎭 Playwright Run Summary
1 failed [chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount 1 skipped 2 passed (2.4m)
🎭 Playwright Run Summary
2 failed [chromium] › specs/send/send-stx.spec.ts:35:3 › send stx: tests on testnet › that empty memo on preview matches default empty value [chromium] › specs/send/send-stx.spec.ts:54:3 › send stx: tests on testnet › that asset value, recipient, memo and fees on preview match input 2 flaky [chromium] › specs/send/send-stx.spec.ts:111:5 › send stx: tests on testnet › send form validation › that the amount is greater than the available balance [chromium] › specs/send/send-stx.spec.ts:143:5 › send stx: tests on testnet › send form preview › send form preview: that it shows preview of tx details to be confirmed 11 passed (6.2m)

Artifacts

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