fix: Ledger - cancel properly and don't allow user to close non cancellable sections #5595
Annotations
8 errors, 1 warning, 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
Process completed with exit code 1.
|
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 skipped
9 passed (3.0m)
|
Loading