fix: stamp error reporting #5657
Annotations
10 errors, 2 warnings, and 1 notice
Run Playwright tests:
tests/specs/send/send-stx.spec.ts#L18
1) [chromium] › specs/send/send-stx.spec.ts:95:5 › send stx: tests on testnet › send form validation › that the amount must be positive
Test timeout of 30000ms exceeded while running "beforeEach" hook.
16 |
17 | test.describe('send stx: tests on testnet', () => {
> 18 | test.beforeEach(async ({ extensionId, globalPage, homePage, onboardingPage, sendPage }) => {
| ^
19 | await globalPage.setupAndUseApiCalls(extensionId);
20 | await onboardingPage.signInWithTestAccount(extensionId);
21 | await homePage.selectTestNet();
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:18:8
|
Run Playwright tests:
tests/page-object-models/home.page.ts#L108
1) [chromium] › specs/send/send-stx.spec.ts:95:5 › send stx: tests on testnet › send form validation › that the amount must be positive
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByTestId('testnet')
- locator resolved to <button type="button" data-testid="testnet" aria-disable…>…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
at page-object-models/home.page.ts:108
106 |
107 | await this.page.waitForTimeout(1000);
> 108 | await this.page.getByTestId(WalletDefaultNetworkConfigurationIds.testnet).click();
| ^
109 | }
110 |
111 | async clickActivityTab() {
at HomePage.selectTestNet (/home/runner/work/extension/extension/tests/page-object-models/home.page.ts:108:79)
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:21:5
|
Run Playwright tests:
tests/specs/send/send-stx.spec.ts#L18
2) [chromium] › specs/send/send-stx.spec.ts:102:5 › send stx: tests on testnet › send form validation › that the amount field enforces max length based on decimals
Test timeout of 30000ms exceeded while running "beforeEach" hook.
16 |
17 | test.describe('send stx: tests on testnet', () => {
> 18 | test.beforeEach(async ({ extensionId, globalPage, homePage, onboardingPage, sendPage }) => {
| ^
19 | await globalPage.setupAndUseApiCalls(extensionId);
20 | await onboardingPage.signInWithTestAccount(extensionId);
21 | await homePage.selectTestNet();
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:18:8
|
Run Playwright tests:
tests/page-object-models/onboarding.page.ts#L290
2) [chromium] › specs/send/send-stx.spec.ts:102:5 › send stx: tests on testnet › send form validation › that the amount field enforces max length based on decimals
Error: page.goto: Target page, context or browser has been closed
Call log:
- navigating to "chrome-extension://ecglnfnhimaihdkpolkogpngodkkjhdm/index.html", waiting until "load"
at page-object-models/onboarding.page.ts:290
288 | testSoftwareAccountDefaultWalletState
289 | );
> 290 | await this.page.goto(`chrome-extension://${id}/index.html`);
| ^
291 | }
292 | await test.expect(this.page.getByText('Enter your password')).toBeVisible();
293 | await this.page.getByRole('textbox').fill(TEST_PASSWORD);
at OnboardingPage.signInWithTestAccount (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:290:23)
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:20:5
|
Run Playwright tests:
tests/specs/send/send-stx.spec.ts#L114
3) [chromium] › specs/send/send-stx.spec.ts:110:5 › send stx: tests on testnet › send form validation › that the amount is greater than the available balance
Error: expect(received).toContain(expected) // indexOf
Expected substring: "Insufficient balance"
Received string: "Unable to read current fee"
112 | await sendPage.amountInput.blur();
113 | const errorMsg = await sendPage.amountInputErrorLabel.innerText();
> 114 | test.expect(errorMsg).toContain('Insufficient balance');
| ^
115 | });
116 |
117 | test('that the address must be valid', async ({ sendPage }) => {
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:114:29
|
Run Playwright tests:
tests/specs/send/send-stx.spec.ts#L18
4) [chromium] › specs/send/send-stx.spec.ts:124: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.
16 |
17 | test.describe('send stx: tests on testnet', () => {
> 18 | test.beforeEach(async ({ extensionId, globalPage, homePage, onboardingPage, sendPage }) => {
| ^
19 | await globalPage.setupAndUseApiCalls(extensionId);
20 | await onboardingPage.signInWithTestAccount(extensionId);
21 | await homePage.selectTestNet();
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:18:8
|
Run Playwright tests:
tests/page-object-models/onboarding.page.ts#L284
4) [chromium] › specs/send/send-stx.spec.ts:124:5 › send stx: tests on testnet › send form validation › that the address cannot be same as sender
Error: locator.isVisible: Target page, context or browser has been closed
Call log:
- checking visibility of getByText('Enter your password')
at page-object-models/onboarding.page.ts:284
282 | */
283 | async signInWithTestAccount(id: string) {
> 284 | const isUnlockPage = async () => await this.page.getByText('Enter your password').isVisible();
| ^
285 | while (!(await isUnlockPage())) {
286 | await this.page.evaluate(
287 | async walletState => await chrome.storage.local.set({ 'persist:root': walletState }),
at isUnlockPage (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:284:87)
at OnboardingPage.signInWithTestAccount (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:285:20)
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:20:5
|
Run Playwright tests:
tests/specs/send/send-stx.spec.ts#L18
5) [chromium] › specs/send/send-stx.spec.ts:152:5 › send stx: tests on testnet › send form preview › send form preview: that it shows preview of tx details after validation error is resolved
Test timeout of 30000ms exceeded while running "beforeEach" hook.
16 |
17 | test.describe('send stx: tests on testnet', () => {
> 18 | test.beforeEach(async ({ extensionId, globalPage, homePage, onboardingPage, sendPage }) => {
| ^
19 | await globalPage.setupAndUseApiCalls(extensionId);
20 | await onboardingPage.signInWithTestAccount(extensionId);
21 | await homePage.selectTestNet();
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:18:8
|
Run Playwright tests:
tests/page-object-models/home.page.ts#L108
5) [chromium] › specs/send/send-stx.spec.ts:152:5 › send stx: tests on testnet › send form preview › send form preview: that it shows preview of tx details after validation error is resolved
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByTestId('testnet')
at page-object-models/home.page.ts:108
106 |
107 | await this.page.waitForTimeout(1000);
> 108 | await this.page.getByTestId(WalletDefaultNetworkConfigurationIds.testnet).click();
| ^
109 | }
110 |
111 | async clickActivityTab() {
at HomePage.selectTestNet (/home/runner/work/extension/extension/tests/page-object-models/home.page.ts:108:79)
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:21:5
|
Run Playwright tests:
tests/specs/send/send-stx.spec.ts#L172
6) [chromium] › specs/send/send-stx.spec.ts:180:5 › send stx: tests on mainnet › send form input fields › that recipient address matches bns name
Test timeout of 30000ms exceeded while running "beforeEach" hook.
170 | // Those that can should be migrated to testnet tests
171 | test.describe('send stx: tests on mainnet', () => {
> 172 | test.beforeEach(async ({ extensionId, globalPage, onboardingPage, homePage, sendPage }) => {
| ^
173 | await globalPage.setupAndUseApiCalls(extensionId);
174 | await onboardingPage.signInWithTestAccount(extensionId);
175 | await homePage.sendButton.click();
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:172:8
|
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/.
|
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/
|
Run Playwright tests
7 flaky
[chromium] › specs/send/send-stx.spec.ts:95:5 › send stx: tests on testnet › send form validation › that the amount must be positive
[chromium] › specs/send/send-stx.spec.ts:102:5 › send stx: tests on testnet › send form validation › that the amount field enforces max length based on decimals
[chromium] › specs/send/send-stx.spec.ts:110: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:124:5 › send stx: tests on testnet › send form validation › that the address cannot be same as sender
[chromium] › specs/send/send-stx.spec.ts:152:5 › send stx: tests on testnet › send form preview › send form preview: that it shows preview of tx details after validation error is resolved
[chromium] › specs/send/send-stx.spec.ts:180:5 › send stx: tests on mainnet › send form input fields › that recipient address matches bns name
[chromium] › specs/send/send-stx.spec.ts:195:5 › send stx: tests on mainnet › send form input fields › that fee row defaults to middle fee estimation
3 passed (5.9m)
|
Loading