fix: Ledger - cancel properly and don't allow user to close non cancellable sections #5597
Annotations
9 errors, 2 warnings, and 1 notice
Run Playwright tests:
tests/specs/profile/profile.spec.ts#L12
1) [chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile
Test timeout of 30000ms exceeded while running "beforeEach" hook.
10 | let testAppPage: TestAppPage;
11 |
> 12 | test.beforeEach(async ({ extensionId, globalPage, onboardingPage, context }) => {
| ^
13 | await globalPage.setupAndUseApiCalls(extensionId);
14 | await onboardingPage.signInWithTestAccount(extensionId);
15 | testAppPage = await TestAppPage.openDemoPage(context);
at /home/runner/work/extension/extension/tests/specs/profile/profile.spec.ts:12:8
|
Run Playwright tests:
tests/page-object-models/onboarding.page.ts#L296
1) [chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile
Error: locator.waitFor: Target page, context or browser has been closed
Call log:
- waiting for locator('text="Account 1"') to be visible
at page-object-models/onboarding.page.ts:296
294 | await this.page.getByRole('button', { name: 'Continue' }).click();
295 | await this.page.waitForURL('**' + RouteUrls.Home);
> 296 | await this.page.locator('text="Account 1"').waitFor();
| ^
297 | }
298 |
299 | /**
at OnboardingPage.signInWithTestAccount (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:296:49)
at /home/runner/work/extension/extension/tests/specs/profile/profile.spec.ts:14:5
|
Run Playwright tests:
tests/specs/profile/profile.spec.ts#L1
1) [chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
Run Playwright tests:
tests/specs/profile/profile.spec.ts#L20
1) [chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: browserContext.waitForEvent: Target page, context or browser has been closed
18 |
19 | test('should show an error for invalid profile', async ({ context }) => {
> 20 | const accountsPage = await context.waitForEvent('page');
| ^
21 | await accountsPage.locator('text="Account 1"').click({ force: true });
22 | await testAppPage.page.bringToFront();
23 | await testAppPage.page.click('text=Profile', {
at /home/runner/work/extension/extension/tests/specs/profile/profile.spec.ts:20:40
|
Run Playwright tests:
tests/specs/profile/profile.spec.ts#L12
1) [chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
10 | let testAppPage: TestAppPage;
11 |
> 12 | test.beforeEach(async ({ extensionId, globalPage, onboardingPage, context }) => {
| ^
13 | await globalPage.setupAndUseApiCalls(extensionId);
14 | await onboardingPage.signInWithTestAccount(extensionId);
15 | testAppPage = await TestAppPage.openDemoPage(context);
at /home/runner/work/extension/extension/tests/specs/profile/profile.spec.ts:12:8
|
Run Playwright tests:
tests/page-object-models/onboarding.page.ts#L296
1) [chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Target page, context or browser has been closed
Call log:
- waiting for locator('text="Account 1"') to be visible
at page-object-models/onboarding.page.ts:296
294 | await this.page.getByRole('button', { name: 'Continue' }).click();
295 | await this.page.waitForURL('**' + RouteUrls.Home);
> 296 | await this.page.locator('text="Account 1"').waitFor();
| ^
297 | }
298 |
299 | /**
at OnboardingPage.signInWithTestAccount (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:296:49)
at /home/runner/work/extension/extension/tests/specs/profile/profile.spec.ts:14:5
|
Run Playwright tests:
tests/specs/network/add-network.spec.ts#L7
2) [chromium] › specs/network/add-network.spec.ts:74:3 › Networks tests › unable to fetch mempool from bitcoin node
Test timeout of 30000ms exceeded while running "beforeEach" hook.
5 |
6 | test.describe('Networks tests', () => {
> 7 | test.beforeEach(
| ^
8 | async ({ extensionId, globalPage, onboardingPage, homePage, networkPage, page }) => {
9 | await globalPage.setupAndUseApiCalls(extensionId);
10 | await onboardingPage.signInWithTestAccount(extensionId);
at /home/runner/work/extension/extension/tests/specs/network/add-network.spec.ts:7:8
|
Run Playwright tests:
tests/page-object-models/onboarding.page.ts#L290
2) [chromium] › specs/network/add-network.spec.ts:74:3 › Networks tests › unable to fetch mempool from bitcoin node
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/network/add-network.spec.ts:10:7
|
Run Playwright tests
Process completed with exit code 1.
|
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
1 failed
[chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile
1 flaky
[chromium] › specs/network/add-network.spec.ts:74:3 › Networks tests › unable to fetch mempool from bitcoin node
1 skipped
8 passed (3.5m)
|
Loading