refactor: remove combined asset model, closes #48 #5668
playwright.yml
on: pull_request
Matrix: test
Merge reports
2m 2s
Annotations
60 errors, 10 warnings, and 8 notices
[chromium] › specs/fund/fund.spec.ts:33:3 › Buy tokens test › should redirect to provider URL while funding BTC:
tests/specs/fund/fund.spec.ts#L6
1) [chromium] › specs/fund/fund.spec.ts:33:3 › Buy tokens test › should redirect to provider URL while funding BTC
Test timeout of 30000ms exceeded while running "beforeEach" hook.
4 |
5 | test.describe('Buy tokens test', () => {
> 6 | test.beforeEach(async ({ extensionId, globalPage, onboardingPage, homePage }) => {
| ^
7 | await globalPage.setupAndUseApiCalls(extensionId);
8 | await onboardingPage.signInWithTestAccount(extensionId);
9 | await homePage.goToFundChooseCurrencyPage();
at /home/runner/work/extension/extension/tests/specs/fund/fund.spec.ts:6:8
|
[chromium] › specs/fund/fund.spec.ts:33:3 › Buy tokens test › should redirect to provider URL while funding BTC:
tests/page-object-models/onboarding.page.ts#L286
1) [chromium] › specs/fund/fund.spec.ts:33:3 › Buy tokens test › should redirect to provider URL while funding BTC
Error: page.evaluate: Target page, context or browser has been closed
at page-object-models/onboarding.page.ts:286
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 }),
288 | testSoftwareAccountDefaultWalletState
289 | );
at OnboardingPage.signInWithTestAccount (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:286:23)
at /home/runner/work/extension/extension/tests/specs/fund/fund.spec.ts:8:5
|
[chromium] › specs/network/add-network.spec.ts:40:3 › Networks tests › validation error when key is empty:
tests/specs/network/add-network.spec.ts#L7
1) [chromium] › specs/network/add-network.spec.ts:40:3 › Networks tests › validation error when key is empty
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
|
[chromium] › specs/network/add-network.spec.ts:40:3 › Networks tests › validation error when key is empty:
tests/page-object-models/onboarding.page.ts#L290
1) [chromium] › specs/network/add-network.spec.ts:40:3 › Networks tests › validation error when key is empty
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
|
[chromium] › specs/network/add-network.spec.ts:62:3 › Networks tests › unable to fetch info from stacks node:
tests/specs/network/add-network.spec.ts#L7
2) [chromium] › specs/network/add-network.spec.ts:62:3 › Networks tests › unable to fetch info from stacks 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
|
[chromium] › specs/network/add-network.spec.ts:62:3 › Networks tests › unable to fetch info from stacks node:
tests/page-object-models/onboarding.page.ts#L296
2) [chromium] › specs/network/add-network.spec.ts:62:3 › Networks tests › unable to fetch info from stacks node
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/network/add-network.spec.ts:10:7
|
[chromium] › specs/network/add-network.spec.ts:74:3 › Networks tests › unable to fetch mempool from bitcoin node:
tests/specs/network/add-network.spec.ts#L7
3) [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
|
[chromium] › specs/network/add-network.spec.ts:74:3 › Networks tests › unable to fetch mempool from bitcoin node:
tests/page-object-models/onboarding.page.ts#L290
3) [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
|
[chromium] › specs/message-signing/bip322-message-signing.spec.ts:33:5 › Message signing › BIP-322 message signing › Signature approved:
tests/specs/message-signing/bip322-message-signing.spec.ts#L7
1) [chromium] › specs/message-signing/bip322-message-signing.spec.ts:33:5 › Message signing › BIP-322 message signing › Signature approved
Test timeout of 30000ms exceeded while running "beforeEach" hook.
5 | test.describe('Message signing', () =>
6 | test.describe('BIP-322 message signing', () => {
> 7 | test.beforeEach(async ({ extensionId, globalPage, onboardingPage, page }) => {
| ^
8 | await globalPage.setupAndUseApiCalls(extensionId);
9 | await onboardingPage.signInWithTestAccount(extensionId);
10 | await page.goto('localhost:3000', { waitUntil: 'networkidle' });
at /home/runner/work/extension/extension/tests/specs/message-signing/bip322-message-signing.spec.ts:7:10
|
[chromium] › specs/message-signing/bip322-message-signing.spec.ts:33:5 › Message signing › BIP-322 message signing › Signature approved:
tests/page-object-models/onboarding.page.ts#L290
1) [chromium] › specs/message-signing/bip322-message-signing.spec.ts:33:5 › Message signing › BIP-322 message signing › Signature approved
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/message-signing/bip322-message-signing.spec.ts:9:7
|
[chromium] › specs/message-signing/bip322-message-signing.spec.ts:53:5 › Message signing › BIP-322 message signing › Signature rejected:
tests/specs/message-signing/bip322-message-signing.spec.ts#L7
2) [chromium] › specs/message-signing/bip322-message-signing.spec.ts:53:5 › Message signing › BIP-322 message signing › Signature rejected
Test timeout of 30000ms exceeded while running "beforeEach" hook.
5 | test.describe('Message signing', () =>
6 | test.describe('BIP-322 message signing', () => {
> 7 | test.beforeEach(async ({ extensionId, globalPage, onboardingPage, page }) => {
| ^
8 | await globalPage.setupAndUseApiCalls(extensionId);
9 | await onboardingPage.signInWithTestAccount(extensionId);
10 | await page.goto('localhost:3000', { waitUntil: 'networkidle' });
at /home/runner/work/extension/extension/tests/specs/message-signing/bip322-message-signing.spec.ts:7:10
|
[chromium] › specs/message-signing/bip322-message-signing.spec.ts:53:5 › Message signing › BIP-322 message signing › Signature rejected:
tests/page-object-models/onboarding.page.ts#L290
2) [chromium] › specs/message-signing/bip322-message-signing.spec.ts:53:5 › Message signing › BIP-322 message signing › Signature rejected
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/message-signing/bip322-message-signing.spec.ts:9:7
|
[chromium] › specs/network/add-network.spec.ts:18:3 › Networks tests › validation error when stacks api url is empty:
tests/specs/network/add-network.spec.ts#L7
3) [chromium] › specs/network/add-network.spec.ts:18:3 › Networks tests › validation error when stacks api url is empty
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
|
[chromium] › specs/network/add-network.spec.ts:18:3 › Networks tests › validation error when stacks api url is empty:
tests/page-object-models/onboarding.page.ts#L290
3) [chromium] › specs/network/add-network.spec.ts:18:3 › Networks tests › validation error when stacks api url is empty
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
|
[chromium] › specs/network/add-network.spec.ts:31:3 › Networks tests › validation error when name is empty:
tests/specs/network/add-network.spec.ts#L7
4) [chromium] › specs/network/add-network.spec.ts:31:3 › Networks tests › validation error when name is empty
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
|
[chromium] › specs/network/add-network.spec.ts:31:3 › Networks tests › validation error when name is empty:
tests/page-object-models/onboarding.page.ts#L296
4) [chromium] › specs/network/add-network.spec.ts:31:3 › Networks tests › validation error when name is empty
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/network/add-network.spec.ts:10:7
|
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:122:3 › Sign PSBT › that the request to sign can be canceled:
tests/specs/rpc-sign-psbt/sign-psbt.spec.ts#L24
1) [chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:122:3 › Sign PSBT › that the request to sign can be canceled
Test timeout of 30000ms exceeded while running "beforeEach" hook.
22 |
23 | test.describe('Sign PSBT', () => {
> 24 | test.beforeEach(async ({ extensionId, globalPage, onboardingPage, page }) => {
| ^
25 | await globalPage.setupAndUseApiCalls(extensionId);
26 | await onboardingPage.signInWithTestAccount(extensionId);
27 | await page.goto('localhost:3000');
at /home/runner/work/extension/extension/tests/specs/rpc-sign-psbt/sign-psbt.spec.ts:24:8
|
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:122:3 › Sign PSBT › that the request to sign can be canceled:
tests/page-object-models/onboarding.page.ts#L290
1) [chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:122:3 › Sign PSBT › that the request to sign can be canceled
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/rpc-sign-psbt/sign-psbt.spec.ts:26:5
|
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:139:3 › Sign PSBT › that a failed request occurs if an invalid index is provided:
tests/specs/rpc-sign-psbt/sign-psbt.spec.ts#L24
2) [chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:139:3 › Sign PSBT › that a failed request occurs if an invalid index is provided
Test timeout of 30000ms exceeded while running "beforeEach" hook.
22 |
23 | test.describe('Sign PSBT', () => {
> 24 | test.beforeEach(async ({ extensionId, globalPage, onboardingPage, page }) => {
| ^
25 | await globalPage.setupAndUseApiCalls(extensionId);
26 | await onboardingPage.signInWithTestAccount(extensionId);
27 | await page.goto('localhost:3000');
at /home/runner/work/extension/extension/tests/specs/rpc-sign-psbt/sign-psbt.spec.ts:24:8
|
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:139:3 › Sign PSBT › that a failed request occurs if an invalid index is provided:
tests/page-object-models/onboarding.page.ts#L284
2) [chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:139:3 › Sign PSBT › that a failed request occurs if an invalid index is provided
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/rpc-sign-psbt/sign-psbt.spec.ts:26:5
|
[chromium] › specs/profile/profile.spec.ts:49:3 › Gaia profile request › should send a signed profile token to gaia:
tests/specs/profile/profile.spec.ts#L42
1) [chromium] › specs/profile/profile.spec.ts:49:3 › Gaia profile request › should send a signed profile token to gaia
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
40 | let testAppPage: TestAppPage;
41 |
> 42 | test.beforeEach(async ({ extensionId, globalPage, onboardingPage, context }) => {
| ^
43 | await globalPage.setupAndUseApiCalls(extensionId);
44 | await onboardingPage.signInWithTestAccount(extensionId);
45 | testAppPage = await TestAppPage.openDemoPage(context);
at /home/runner/work/extension/extension/tests/specs/profile/profile.spec.ts:42:8
|
[chromium] › specs/profile/profile.spec.ts:49:3 › Gaia profile request › should send a signed profile token to gaia:
tests/page-object-models/onboarding.page.ts#L296
1) [chromium] › specs/profile/profile.spec.ts:49:3 › Gaia profile request › should send a signed profile token to gaia
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:44:5
|
[chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile:
tests/specs/profile/profile.spec.ts#L12
2) [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
|
[chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile:
tests/page-object-models/onboarding.page.ts#L296
2) [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
|
[chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile:
tests/specs/profile/profile.spec.ts#L1
2) [chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile:
tests/specs/profile/profile.spec.ts#L20
2) [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
|
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:111:7 › Rpc: GetAddresses › softwareWallet › the promise rejects when user closes popup window:
tests/specs/rpc-get-addresses/get-addresses.spec.ts#L11
3) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:111:7 › Rpc: GetAddresses › softwareWallet › the promise rejects when user closes popup window
Test timeout of 30000ms exceeded while running "beforeEach" hook.
9 | function softwareBeforeEach() {
10 | return () =>
> 11 | test.beforeEach(
| ^
12 | async ({ extensionId, onboardingPage }) =>
13 | await onboardingPage.signInWithTestAccount(extensionId)
14 | );
at /home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:11:10
|
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:111:7 › Rpc: GetAddresses › softwareWallet › the promise rejects when user closes popup window:
tests/page-object-models/onboarding.page.ts#L290
3) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:111:7 › Rpc: GetAddresses › softwareWallet › the promise rejects when user closes popup window
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/rpc-get-addresses/get-addresses.spec.ts:13:9
|
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:120:9 › Rpc: GetAddresses › softwareWallet › it redirects back to get addresses flow when wallet is locked:
tests/specs/rpc-get-addresses/get-addresses.spec.ts#L1
4) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:120:9 › Rpc: GetAddresses › softwareWallet › it redirects back to get addresses flow when wallet is locked
Test timeout of 30000ms exceeded.
|
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:120:9 › Rpc: GetAddresses › softwareWallet › it redirects back to get addresses flow when wallet is locked:
tests/specs/rpc-get-addresses/get-addresses.spec.ts#L60
4) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:120:9 › Rpc: GetAddresses › softwareWallet › it redirects back to get addresses flow when wallet is locked
Error: page.evaluate: Target page, context or browser has been closed
58 |
59 | async function initiateGetAddresses(page: Page) {
> 60 | return page.evaluate(async () => (window as any).LeatherProvider?.request('getAddresses'));
| ^
61 | }
62 |
63 | async function clickConnectLeatherButton(popup: Page) {
at initiateGetAddresses (/home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:60:15)
at /home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:127:39
|
[chromium] › specs/send/send-btc.spec.ts:22:5 › send btc › btc send form › that it shows preview of tx details to be confirmed:
tests/specs/send/send-btc.spec.ts#L12
1) [chromium] › specs/send/send-btc.spec.ts:22:5 › send btc › btc send form › that it shows preview of tx details to be confirmed
Test timeout of 30000ms exceeded while running "beforeEach" hook.
10 |
11 | test.describe('send btc', () => {
> 12 | test.beforeEach(async ({ extensionId, globalPage, homePage, onboardingPage, sendPage }) => {
| ^
13 | await globalPage.setupAndUseApiCalls(extensionId);
14 | await onboardingPage.signInWithTestAccount(extensionId);
15 | await homePage.selectTestnet();
at /home/runner/work/extension/extension/tests/specs/send/send-btc.spec.ts:12:8
|
[chromium] › specs/send/send-btc.spec.ts:22:5 › send btc › btc send form › that it shows preview of tx details to be confirmed:
tests/page-object-models/onboarding.page.ts#L286
1) [chromium] › specs/send/send-btc.spec.ts:22:5 › send btc › btc send form › that it shows preview of tx details to be confirmed
Error: page.evaluate: Target page, context or browser has been closed
at page-object-models/onboarding.page.ts:286
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 }),
288 | testSoftwareAccountDefaultWalletState
289 | );
at OnboardingPage.signInWithTestAccount (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:286:23)
at /home/runner/work/extension/extension/tests/specs/send/send-btc.spec.ts:14:5
|
[chromium] › specs/send/send-btc.spec.ts:88:5 › send btc › btc send form › that prevents transaction if it contains inscribed utxo:
tests/specs/send/send-btc.spec.ts#L12
2) [chromium] › specs/send/send-btc.spec.ts:88:5 › send btc › btc send form › that prevents transaction if it contains inscribed utxo
Test timeout of 30000ms exceeded while running "beforeEach" hook.
10 |
11 | test.describe('send btc', () => {
> 12 | test.beforeEach(async ({ extensionId, globalPage, homePage, onboardingPage, sendPage }) => {
| ^
13 | await globalPage.setupAndUseApiCalls(extensionId);
14 | await onboardingPage.signInWithTestAccount(extensionId);
15 | await homePage.selectTestnet();
at /home/runner/work/extension/extension/tests/specs/send/send-btc.spec.ts:12:8
|
[chromium] › specs/send/send-btc.spec.ts:88:5 › send btc › btc send form › that prevents transaction if it contains inscribed utxo:
tests/page-object-models/home.page.ts#L108
2) [chromium] › specs/send/send-btc.spec.ts:88:5 › send btc › btc send form › that prevents transaction if it contains inscribed utxo
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-btc.spec.ts:15:5
|
[chromium] › specs/send/send-stx.spec.ts:26:3 › send stx: tests on testnet › that send max button sets available balance minus fee:
tests/specs/send/send-stx.spec.ts#L18
3) [chromium] › specs/send/send-stx.spec.ts:26:3 › send stx: tests on testnet › that send max button sets available balance minus fee
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
|
[chromium] › specs/send/send-stx.spec.ts:26:3 › send stx: tests on testnet › that send max button sets available balance minus fee:
tests/page-object-models/onboarding.page.ts#L290
3) [chromium] › specs/send/send-stx.spec.ts:26:3 › send stx: tests on testnet › that send max button sets available balance minus fee
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
|
[chromium] › specs/send/send-stx.spec.ts:53:3 › send stx: tests on testnet › that asset value:
tests/specs/send/send-stx.spec.ts#L18
4) [chromium] › specs/send/send-stx.spec.ts:53:3 › send stx: tests on testnet › that asset value, recipient, memo and fees on preview match input
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
|
[chromium] › specs/send/send-stx.spec.ts:53:3 › send stx: tests on testnet › that asset value:
tests/page-object-models/onboarding.page.ts#L290
4) [chromium] › specs/send/send-stx.spec.ts:53:3 › send stx: tests on testnet › that asset value, recipient, memo and fees on preview match input
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
|
[chromium] › specs/send/send-stx.spec.ts:88:5 › send stx: tests on testnet › send form validation › that the amount must be a number:
tests/specs/send/send-stx.spec.ts#L18
5) [chromium] › specs/send/send-stx.spec.ts:88: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.
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
|
[chromium] › specs/send/send-stx.spec.ts:88:5 › send stx: tests on testnet › send form validation › that the amount must be a number:
tests/page-object-models/onboarding.page.ts#L284
5) [chromium] › specs/send/send-stx.spec.ts:88:5 › send stx: tests on testnet › send form validation › that the amount must be a number
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
|
[chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount:
tests/specs/transactions/transactions.spec.ts#L12
1) [chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount
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 |
at /home/runner/work/extension/extension/tests/specs/transactions/transactions.spec.ts:12:8
|
[chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount:
tests/page-object-models/onboarding.page.ts#L290
1) [chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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/transactions/transactions.spec.ts:14:5
|
[chromium] › specs/send/send-stx.spec.ts:205:5 › send stx: tests on mainnet › send form input fields › that low fee estimate can be selected:
tests/specs/send/send-stx.spec.ts#L172
2) [chromium] › specs/send/send-stx.spec.ts:205:5 › send stx: tests on mainnet › send form input fields › that low fee estimate can be selected
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
|
[chromium] › specs/send/send-stx.spec.ts:205:5 › send stx: tests on mainnet › send form input fields › that low fee estimate can be selected:
tests/page-object-models/onboarding.page.ts#L290
2) [chromium] › specs/send/send-stx.spec.ts:205:5 › send stx: tests on mainnet › send form input fields › that low fee estimate can be selected
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:174:5
|
[chromium] › specs/settings/settings.spec.ts:26:3 › Settings menu › that menu item can perform sign out:
tests/specs/settings/settings.spec.ts#L8
3) [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
|
[chromium] › specs/settings/settings.spec.ts:26:3 › Settings menu › that menu item can perform sign out:
tests/page-object-models/onboarding.page.ts#L290
3) [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
|
[chromium] › specs/settings/settings.spec.ts:46:3 › Settings menu › that menu item allows viewing and saving secret key to clipboard:
tests/specs/settings/settings.spec.ts#L8
4) [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
|
[chromium] › specs/settings/settings.spec.ts:46:3 › Settings menu › that menu item allows viewing and saving secret key to clipboard:
tests/page-object-models/onboarding.page.ts#L290
4) [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
|
[chromium] › specs/settings/settings.spec.ts:63:3 › Settings menu › that menu item allows changing networks:
tests/specs/settings/settings.spec.ts#L8
5) [chromium] › specs/settings/settings.spec.ts:63:3 › Settings menu › that menu item allows changing networks
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
|
[chromium] › specs/settings/settings.spec.ts:63:3 › Settings menu › that menu item allows changing networks:
tests/page-object-models/onboarding.page.ts#L286
5) [chromium] › specs/settings/settings.spec.ts:63:3 › Settings menu › that menu item allows changing networks
Error: page.evaluate: Target page, context or browser has been closed
at page-object-models/onboarding.page.ts:286
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 }),
288 | testSoftwareAccountDefaultWalletState
289 | );
at OnboardingPage.signInWithTestAccount (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:286:23)
at /home/runner/work/extension/extension/tests/specs/settings/settings.spec.ts:10:5
|
[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:
tests/specs/send/send-stx.spec.ts#L18
1) [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
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
|
[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:
tests/page-object-models/onboarding.page.ts#L296
1) [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: 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/send/send-stx.spec.ts:20:5
|
[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:
tests/specs/send/send-stx.spec.ts#L114
1) [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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
[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:
tests/specs/send/send-stx.spec.ts#L18
1) [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
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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
|
[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:
tests/page-object-models/onboarding.page.ts#L290
1) [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
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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
|
[chromium] › specs/send/send-stx.spec.ts:95:5 › send stx: tests on testnet › send form validation › that the amount must be positive:
tests/specs/send/send-stx.spec.ts#L18
2) [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
|
[chromium] › specs/send/send-stx.spec.ts:95:5 › send stx: tests on testnet › send form validation › that the amount must be positive:
tests/page-object-models/onboarding.page.ts#L296
2) [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.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/send/send-stx.spec.ts:20:5
|
[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:
tests/specs/send/send-stx.spec.ts#L18
3) [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
|
[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:
tests/page-object-models/home.page.ts#L108
3) [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.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
|
[chromium] › specs/send/send-stx.spec.ts:142:5 › send stx: tests on testnet › send form preview › send form preview: that it shows preview of tx details to be confirmed:
tests/specs/send/send-stx.spec.ts#L18
4) [chromium] › specs/send/send-stx.spec.ts:142:5 › send stx: tests on testnet › send form preview › send form preview: that it shows preview of tx details to be confirmed
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
|
Shard 1 of 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/.
|
Shard 3 of 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/.
|
Shard 2 of 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/.
|
Shard 5 of 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/.
|
Shard 4 of 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/.
|
Shard 6 of 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/.
|
Shard 8 of 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/.
|
Shard 7 of 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/.
|
Merge reports
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Deprecation notice: v1, v2, and v3 of the artifact actions
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/
|
🎭 Playwright Run Summary
1 flaky
[chromium] › specs/fund/fund.spec.ts:33:3 › Buy tokens test › should redirect to provider URL while funding BTC
4 skipped
5 passed (1.4m)
|
🎭 Playwright Run Summary
3 flaky
[chromium] › specs/network/add-network.spec.ts:40:3 › Networks tests › validation error when key is empty
[chromium] › specs/network/add-network.spec.ts:62:3 › Networks tests › unable to fetch info from stacks node
[chromium] › specs/network/add-network.spec.ts:74:3 › Networks tests › unable to fetch mempool from bitcoin node
7 passed (3.4m)
|
🎭 Playwright Run Summary
4 flaky
[chromium] › specs/message-signing/bip322-message-signing.spec.ts:33:5 › Message signing › BIP-322 message signing › Signature approved
[chromium] › specs/message-signing/bip322-message-signing.spec.ts:53:5 › Message signing › BIP-322 message signing › Signature rejected
[chromium] › specs/network/add-network.spec.ts:18:3 › Networks tests › validation error when stacks api url is empty
[chromium] › specs/network/add-network.spec.ts:31:3 › Networks tests › validation error when name is empty
6 passed (3.2m)
|
🎭 Playwright Run Summary
2 flaky
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:122:3 › Sign PSBT › that the request to sign can be canceled
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:139:3 › Sign PSBT › that a failed request occurs if an invalid index is provided
8 passed (3.4m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › specs/profile/profile.spec.ts:49:3 › Gaia profile request › should send a signed profile token to gaia
3 flaky
[chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:111:7 › Rpc: GetAddresses › softwareWallet › the promise rejects when user closes popup window
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:120:9 › Rpc: GetAddresses › softwareWallet › it redirects back to get addresses flow when wallet is locked
6 passed (4.5m)
|
🎭 Playwright Run Summary
5 flaky
[chromium] › specs/send/send-btc.spec.ts:22:5 › send btc › btc send form › that it shows preview of tx details to be confirmed
[chromium] › specs/send/send-btc.spec.ts:88:5 › send btc › btc send form › that prevents transaction if it contains inscribed utxo
[chromium] › specs/send/send-stx.spec.ts:26:3 › send stx: tests on testnet › that send max button sets available balance minus fee
[chromium] › specs/send/send-stx.spec.ts:53:3 › send stx: tests on testnet › that asset value, recipient, memo and fees on preview match input
[chromium] › specs/send/send-stx.spec.ts:88:5 › send stx: tests on testnet › send form validation › that the amount must be a number
5 passed (5.5m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › specs/transactions/transactions.spec.ts:45:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount
5 flaky
[chromium] › specs/send/send-stx.spec.ts:205:5 › send stx: tests on mainnet › send form input fields › that low fee estimate can be selected
[chromium] › specs/settings/settings.spec.ts:26:3 › Settings menu › that menu item can perform sign out
[chromium] › specs/settings/settings.spec.ts:46:3 › Settings menu › that menu item allows viewing and saving secret key to clipboard
[chromium] › specs/settings/settings.spec.ts:63:3 › Settings menu › that menu item allows changing networks
[chromium] › specs/transactions/transactions.spec.ts:24:5 › Transaction signing › Contract calls › that it validates against insufficient funds when performing a contract call
1 skipped
3 passed (5.9m)
|
🎭 Playwright Run Summary
1 failed
[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
5 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: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:142:5 › send stx: tests on testnet › send form preview › send form preview: that it shows preview of tx details to be confirmed
[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:195:5 › send stx: tests on mainnet › send form input fields › that fee row defaults to middle fee estimation
4 passed (6.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports
Expired
|
159 MB |
|