chore: add defensive code and better analytics for broadcast errors, … #5606
Annotations
10 errors, 2 warnings, and 1 notice
Run Playwright tests:
tests/specs/settings/settings.spec.ts#L8
1) [chromium] › specs/settings/settings.spec.ts:26:3 › Settings menu › that menu item can perform sign out
Test timeout of 30000ms exceeded while running "beforeEach" hook.
6 |
7 | test.describe('Settings menu', () => {
> 8 | test.beforeEach(async ({ extensionId, globalPage, onboardingPage }) => {
| ^
9 | await globalPage.setupAndUseApiCalls(extensionId);
10 | await onboardingPage.signInWithTestAccount(extensionId);
11 | });
at /home/runner/work/extension/extension/tests/specs/settings/settings.spec.ts:8:8
|
Run Playwright tests:
tests/page-object-models/onboarding.page.ts#L290
1) [chromium] › specs/settings/settings.spec.ts:26:3 › Settings menu › that menu item can perform sign out
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/settings/settings.spec.ts:10:5
|
Run Playwright tests:
tests/specs/settings/settings.spec.ts#L1
2) [chromium] › specs/settings/settings.spec.ts:32:3 › Settings menu › that menu item can lock and unlock the extension
Test timeout of 30000ms exceeded.
|
Run Playwright tests:
tests/specs/settings/settings.spec.ts#L40
2) [chromium] › specs/settings/settings.spec.ts:32:3 › Settings menu › that menu item can lock and unlock the extension
Error: locator.innerText: Target page, context or browser has been closed
Call log:
- waiting for getByTestId('current-account-display-name')
38 | const displayName = await page
39 | .getByTestId(SettingsSelectors.CurrentAccountDisplayName)
> 40 | .innerText();
| ^
41 |
42 | test.expect(displayName).toEqual('Account 1');
43 | });
at /home/runner/work/extension/extension/tests/specs/settings/settings.spec.ts:40:8
|
Run Playwright tests:
tests/specs/settings/settings.spec.ts#L8
3) [chromium] › specs/settings/settings.spec.ts:46:3 › Settings menu › that menu item allows viewing and saving secret key to clipboard
Test timeout of 30000ms exceeded while running "beforeEach" hook.
6 |
7 | test.describe('Settings menu', () => {
> 8 | test.beforeEach(async ({ extensionId, globalPage, onboardingPage }) => {
| ^
9 | await globalPage.setupAndUseApiCalls(extensionId);
10 | await onboardingPage.signInWithTestAccount(extensionId);
11 | });
at /home/runner/work/extension/extension/tests/specs/settings/settings.spec.ts:8:8
|
Run Playwright tests:
tests/page-object-models/onboarding.page.ts#L290
3) [chromium] › specs/settings/settings.spec.ts:46:3 › Settings menu › that menu item allows viewing and saving secret key to clipboard
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/settings/settings.spec.ts:10:5
|
Run Playwright tests:
tests/specs/swap/swap.spec.ts#L6
4) [chromium] › specs/swap/swap.spec.ts:13:3 › Swaps › that it defaults to swapping STX ──────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
4 |
5 | test.describe('Swaps', () => {
> 6 | test.beforeEach(async ({ extensionId, globalPage, homePage, onboardingPage, swapPage }) => {
| ^
7 | await globalPage.setupAndUseApiCalls(extensionId);
8 | await onboardingPage.signInWithTestAccount(extensionId);
9 | await homePage.swapButton.click();
at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:6:8
|
Run Playwright tests:
tests/page-object-models/onboarding.page.ts#L290
4) [chromium] › specs/swap/swap.spec.ts:13:3 › Swaps › that it defaults to swapping STX ──────────
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/swap/swap.spec.ts:8:5
|
Run Playwright tests:
tests/specs/swap/swap.spec.ts#L6
5) [chromium] › specs/swap/swap.spec.ts:17:3 › Swaps › that it shows swap review details correctly
Test timeout of 30000ms exceeded while running "beforeEach" hook.
4 |
5 | test.describe('Swaps', () => {
> 6 | test.beforeEach(async ({ extensionId, globalPage, homePage, onboardingPage, swapPage }) => {
| ^
7 | await globalPage.setupAndUseApiCalls(extensionId);
8 | await onboardingPage.signInWithTestAccount(extensionId);
9 | await homePage.swapButton.click();
at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:6:8
|
Run Playwright tests:
tests/page-object-models/onboarding.page.ts#L290
5) [chromium] › specs/swap/swap.spec.ts:17:3 › Swaps › that it shows swap review details correctly
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/swap/swap.spec.ts:8:5
|
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/settings/settings.spec.ts:26:3 › Settings menu › that menu item can perform sign out
[chromium] › specs/settings/settings.spec.ts:32:3 › Settings menu › that menu item can lock and unlock the extension
[chromium] › specs/settings/settings.spec.ts:46:3 › Settings menu › that menu item allows viewing and saving secret key to clipboard
[chromium] › specs/swap/swap.spec.ts:13:3 › Swaps › that it defaults to swapping STX ───────────
[chromium] › specs/swap/swap.spec.ts:17:3 › Swaps › that it shows swap review details correctly
[chromium] › specs/transactions/transactions.spec.ts:24:5 › Transaction signing › Contract calls › that it validates against insufficient funds when performing a contract call
[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 (6.3m)
|
Loading