Improve dust txs when sending max amount (#4979) #6230
Annotations
4 errors, 3 warnings, and 1 notice
tests/specs/send/send-stx.spec.ts#L20
1) [chromium] › specs/send/send-stx.spec.ts:113:5 › send stx: tests on testnet › send form validation › that the amount must be a number
Test timeout of 30000ms exceeded while running "beforeEach" hook.
18 |
19 | test.describe('send stx: tests on testnet', () => {
> 20 | test.beforeEach(async ({ extensionId, globalPage, homePage, onboardingPage, sendPage }) => {
| ^
21 | await globalPage.setupAndUseApiCalls(extensionId);
22 |
23 | await onboardingPage.signInWithTestAccount(extensionId);
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:20:8
|
tests/specs/send/send-stx.spec.ts#L25
1) [chromium] › specs/send/send-stx.spec.ts:113:5 › send stx: tests on testnet › send form validation › that the amount must be a number
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByTestId('send-crypto-asset-btn')
- locator resolved to <button type="button" data-testid="send-crypto-asset-btn…>…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
23 | await onboardingPage.signInWithTestAccount(extensionId);
24 | await homePage.selectTestnet();
> 25 | await homePage.sendButton.click();
| ^
26 | await sendPage.selectStxAndGoToSendForm();
27 | });
28 |
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:25:31
|
tests/specs/send/send-stx.spec.ts#L20
2) [chromium] › specs/send/send-stx.spec.ts:149:5 › send stx: tests on testnet › send form validation › that the address cannot be same as sender
Test timeout of 30000ms exceeded while running "beforeEach" hook.
18 |
19 | test.describe('send stx: tests on testnet', () => {
> 20 | test.beforeEach(async ({ extensionId, globalPage, homePage, onboardingPage, sendPage }) => {
| ^
21 | await globalPage.setupAndUseApiCalls(extensionId);
22 |
23 | await onboardingPage.signInWithTestAccount(extensionId);
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:20:8
|
tests/page-object-models/send.page.ts#L87
2) [chromium] › specs/send/send-stx.spec.ts:149:5 › send stx: tests on testnet › send form validation › that the address cannot be same as sender
Error: locator.waitFor: Target page, context or browser has been closed
at page-object-models/send.page.ts:87
85 | .click();
86 | await this.page.waitForURL('**' + `${RouteUrls.SendCryptoAsset}/stx`);
> 87 | await this.page.getByTestId(SendCryptoAssetSelectors.SendForm).waitFor();
| ^
88 | }
89 |
90 | async waitForSendPageReady() {
at SendPage.selectStxAndGoToSendForm (/home/runner/work/extension/extension/tests/page-object-models/send.page.ts:87:68)
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:26:5
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: nick-fields/retry@v2, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
[chromium] › specs/send/send-btc.spec.ts#L1
[chromium] › specs/send/send-btc.spec.ts took 2.5m
|
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/
|
2 flaky
[chromium] › specs/send/send-stx.spec.ts:113:5 › send stx: tests on testnet › send form validation › that the amount must be a number
[chromium] › specs/send/send-stx.spec.ts:149:5 › send stx: tests on testnet › send form validation › that the address cannot be same as sender
20 passed (9.9m)
|
This job succeeded
Loading