refactor: asset data models, associated queries, and asset list #5593
playwright.yml
on: pull_request
Matrix: test
Merge reports
2m 22s
Annotations
60 errors, 10 warnings, and 8 notices
[chromium] › specs/fund/fund.spec.ts:12:3 › Buy tokens test › should redirect to provider URL while funding STX:
tests/specs/fund/fund.spec.ts#L6
1) [chromium] › specs/fund/fund.spec.ts:12:3 › Buy tokens test › should redirect to provider URL while funding STX
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:12:3 › Buy tokens test › should redirect to provider URL while funding STX:
tests/page-object-models/onboarding.page.ts#L286
1) [chromium] › specs/fund/fund.spec.ts:12:3 › Buy tokens test › should redirect to provider URL while funding STX
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/ledger/ledger.spec.ts:38:7 › App with Ledger › withBitcoinAndStacksKey › that you can navigate to activity page:
tests/specs/ledger/ledger.spec.ts#L1
2) [chromium] › specs/ledger/ledger.spec.ts:38:7 › App with Ledger › withBitcoinAndStacksKey › that you can navigate to activity page
Test timeout of 30000ms exceeded.
|
[chromium] › specs/ledger/ledger.spec.ts:38:7 › App with Ledger › withBitcoinAndStacksKey › that you can navigate to activity page:
tests/page-object-models/home.page.ts#L112
2) [chromium] › specs/ledger/ledger.spec.ts:38:7 › App with Ledger › withBitcoinAndStacksKey › that you can navigate to activity page
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByTestId('tab-activity')
at page-object-models/home.page.ts:112
110 |
111 | async clickActivityTab() {
> 112 | await this.page.getByTestId(HomePageSelectors.ActivityTabBtn).click();
| ^
113 | }
114 |
115 | async clickSettingsButton() {
at HomePage.clickActivityTab (/home/runner/work/extension/extension/tests/page-object-models/home.page.ts:112:67)
at /home/runner/work/extension/extension/tests/specs/ledger/ledger.spec.ts:39:24
|
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:97:7 › Rpc: GetAddresses › softwareWallet › the promise resolves with addresses successfully:
tests/specs/rpc-get-addresses/get-addresses.spec.ts#L1
1) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:97:7 › Rpc: GetAddresses › softwareWallet › the promise resolves with addresses successfully
Test timeout of 30000ms exceeded.
|
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:97:7 › Rpc: GetAddresses › softwareWallet › the promise resolves with addresses successfully:
tests/specs/rpc-get-addresses/get-addresses.spec.ts#L98
1) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:97:7 › Rpc: GetAddresses › softwareWallet › the promise resolves with addresses successfully
Error: page.goto: Target page, context or browser has been closed
Call log:
- navigating to "localhost:3000", waiting until "load"
96 |
97 | test('the promise resolves with addresses successfully', async ({ page, context }) => {
> 98 | await page.goto('localhost:3000');
| ^
99 | const getAddressesPromise = initiateGetAddresses(page);
100 |
101 | const popup = await interceptRequestPopup(context);
at /home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:98:20
|
[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
2) [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#L284
2) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:111:7 › Rpc: GetAddresses › softwareWallet › the promise rejects when user closes popup window
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-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#L11
3) [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 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:120:9 › Rpc: GetAddresses › softwareWallet › it redirects back to get addresses flow when wallet is locked:
tests/page-object-models/onboarding.page.ts#L290
3) [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.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/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
1) [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
1) [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
2) [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
2) [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/network/add-network.spec.ts:40:3 › Networks tests › validation error when key is empty:
tests/specs/network/add-network.spec.ts#L7
3) [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
3) [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
1) [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#L284
1) [chromium] › specs/network/add-network.spec.ts:62:3 › Networks tests › unable to fetch info from stacks node
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/network/add-network.spec.ts:10:7
|
[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#L290
2) [chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile
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/profile/profile.spec.ts:14: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#L1
3) [chromium] › specs/profile/profile.spec.ts:49:3 › Gaia profile request › should send a signed profile token to gaia
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[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#L50
3) [chromium] › specs/profile/profile.spec.ts:49:3 › Gaia profile request › should send a signed profile token to gaia
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: browserContext.waitForEvent: Target page, context or browser has been closed
48 |
49 | test('should send a signed profile token to gaia', async ({ context }) => {
> 50 | const accountsPage = await context.waitForEvent('page');
| ^
51 | await accountsPage.locator('text="Account 2"').click({ force: true });
52 | await testAppPage.page.bringToFront();
53 | await testAppPage.page.click('text=Profile', {
at /home/runner/work/extension/extension/tests/specs/profile/profile.spec.ts:50:40
|
[chromium] › specs/settings/settings.spec.ts:26:3 › Settings menu › that menu item can perform sign out:
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
|
[chromium] › specs/settings/settings.spec.ts:26:3 › Settings menu › that menu item can perform sign out:
tests/page-object-models/onboarding.page.ts#L286
1) [chromium] › specs/settings/settings.spec.ts:26:3 › Settings menu › that menu item can perform sign out
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/settings/settings.spec.ts:32:3 › Settings menu › that menu item can lock and unlock the extension:
tests/specs/settings/settings.spec.ts#L8
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 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:32:3 › Settings menu › that menu item can lock and unlock the extension:
tests/page-object-models/onboarding.page.ts#L296
2) [chromium] › specs/settings/settings.spec.ts:32:3 › Settings menu › that menu item can lock and unlock the extension
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/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
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
|
[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
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
|
[chromium] › specs/swap/swap.spec.ts:13:3 › Swaps › that it defaults to swapping STX:
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
|
[chromium] › specs/swap/swap.spec.ts:13:3 › Swaps › that it defaults to swapping STX:
tests/page-object-models/onboarding.page.ts#L284
4) [chromium] › specs/swap/swap.spec.ts:13:3 › Swaps › that it defaults to swapping STX ──────────
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/swap/swap.spec.ts:8:5
|
[chromium] › specs/swap/swap.spec.ts:17:3 › Swaps › that it shows swap review details correctly:
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
|
[chromium] › specs/swap/swap.spec.ts:17:3 › Swaps › that it shows swap review details correctly:
tests/page-object-models/onboarding.page.ts#L296
5) [chromium] › specs/swap/swap.spec.ts:17:3 › Swaps › that it shows swap review details correctly
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/swap/swap.spec.ts:8:5
|
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:88:3 › Sign PSBT › that only requested inputs are signed:
tests/specs/rpc-sign-psbt/sign-psbt.spec.ts#L24
1) [chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:88:3 › Sign PSBT › that only requested inputs are signed
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:88:3 › Sign PSBT › that only requested inputs are signed:
tests/page-object-models/onboarding.page.ts#L290
1) [chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:88:3 › Sign PSBT › that only requested inputs are signed
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:122:3 › Sign PSBT › that the request to sign can be canceled:
tests/specs/rpc-sign-psbt/sign-psbt.spec.ts#L24
2) [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#L296
2) [chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:122:3 › Sign PSBT › that the request to sign can be canceled
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/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
3) [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#L290
3) [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: 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/send/send-btc.spec.ts:32:5 › send btc › btc send form › that recipient input is trimmed correctly:
tests/specs/send/send-btc.spec.ts#L12
4) [chromium] › specs/send/send-btc.spec.ts:32:5 › send btc › btc send form › that recipient input is trimmed correctly
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:32:5 › send btc › btc send form › that recipient input is trimmed correctly:
tests/page-object-models/onboarding.page.ts#L296
4) [chromium] › specs/send/send-btc.spec.ts:32:5 › send btc › btc send form › that recipient input is trimmed correctly
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-btc.spec.ts:14:5
|
[chromium] › specs/send/send-btc.spec.ts:87:5 › send btc › btc send form › that prevents transaction if it contains inscribed utxo:
tests/specs/send/send-btc.spec.ts#L12
1) [chromium] › specs/send/send-btc.spec.ts:87: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:87:5 › send btc › btc send form › that prevents transaction if it contains inscribed utxo:
tests/page-object-models/home.page.ts#L107
1) [chromium] › specs/send/send-btc.spec.ts:87:5 › send btc › btc send form › that prevents transaction if it contains inscribed utxo
Error: page.waitForTimeout: Target page, context or browser has been closed
at page-object-models/home.page.ts:107
105 | await this.page.getByTestId(NetworkSelectors.NetworkListActiveNetwork).isVisible();
106 |
> 107 | await this.page.waitForTimeout(1000);
| ^
108 | await this.page.getByTestId(WalletDefaultNetworkConfigurationIds.testnet).click();
109 | }
110 |
at HomePage.selectTestNet (/home/runner/work/extension/extension/tests/page-object-models/home.page.ts:107:21)
at /home/runner/work/extension/extension/tests/specs/send/send-btc.spec.ts:15:5
|
[chromium] › specs/send/send-btc.spec.ts:106:5 › send btc › btc send form › that fallbacks to other api provider if main fails:
tests/specs/send/send-btc.spec.ts#L12
2) [chromium] › specs/send/send-btc.spec.ts:106:5 › send btc › btc send form › that fallbacks to other api provider if main fails
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:106:5 › send btc › btc send form › that fallbacks to other api provider if main fails:
tests/page-object-models/onboarding.page.ts#L290
2) [chromium] › specs/send/send-btc.spec.ts:106:5 › send btc › btc send form › that fallbacks to other api provider if main fails
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-btc.spec.ts:14:5
|
[chromium] › specs/send/send-stx.spec.ts:34:3 › send stx: tests on testnet › that empty memo on preview matches default empty value:
tests/specs/send/send-stx.spec.ts#L18
3) [chromium] › specs/send/send-stx.spec.ts:34:3 › send stx: tests on testnet › that empty memo on preview matches default empty value
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:34:3 › send stx: tests on testnet › that empty memo on preview matches default empty value:
tests/page-object-models/onboarding.page.ts#L290
3) [chromium] › specs/send/send-stx.spec.ts:34:3 › send stx: tests on testnet › that empty memo on preview matches default empty value
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
4) [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#L290
4) [chromium] › specs/send/send-stx.spec.ts:95:5 › send stx: tests on testnet › send form validation › that the amount must be positive
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:102:5 › send stx: tests on testnet › send form validation › that the amount field enforces max length based on decimals:
tests/specs/send/send-stx.spec.ts#L18
5) [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
|
[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:
tests/page-object-models/onboarding.page.ts#L290
5) [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
|
[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
1) [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/onboarding.page.ts#L290
1) [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: 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:132:5 › send stx: tests on testnet › send form validation › that valid addresses are accepted:
tests/specs/send/send-stx.spec.ts#L18
2) [chromium] › specs/send/send-stx.spec.ts:132:5 › send stx: tests on testnet › send form validation › that valid addresses are accepted
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:132:5 › send stx: tests on testnet › send form validation › that valid addresses are accepted:
tests/page-object-models/onboarding.page.ts#L286
2) [chromium] › specs/send/send-stx.spec.ts:132:5 › send stx: tests on testnet › send form validation › that valid addresses are accepted
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-stx.spec.ts:20: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:
tests/specs/send/send-stx.spec.ts#L18
3) [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
|
[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:
tests/page-object-models/onboarding.page.ts#L290
3) [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: 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:195:5 › send stx: tests on mainnet › send form input fields › that fee row defaults to middle fee estimation:
tests/specs/send/send-stx.spec.ts#L202
4) [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
Error: expect(received).toBeTruthy()
Received: false
200 | // Using min/max fee caps
201 | const isMiddleFee = fee >= 0.003 && fee <= 0.75;
> 202 | test.expect(isMiddleFee).toBeTruthy();
| ^
203 | });
204 |
205 | test('that low fee estimate can be selected', async ({ sendPage }) => {
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:202:32
|
[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
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
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#L296
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
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:174:5
|
[chromium] › specs/settings/settings.spec.ts:13:3 › Settings menu › that menu item takes user to support page:
tests/specs/settings/settings.spec.ts#L8
6) [chromium] › specs/settings/settings.spec.ts:13:3 › Settings menu › that menu item takes user to support page
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
|
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 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 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 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 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 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 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 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
2 flaky
[chromium] › specs/fund/fund.spec.ts:12:3 › Buy tokens test › should redirect to provider URL while funding STX
[chromium] › specs/ledger/ledger.spec.ts:38:7 › App with Ledger › withBitcoinAndStacksKey › that you can navigate to activity page
4 skipped
5 passed (1.9m)
|
🎭 Playwright Run Summary
3 flaky
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:97:7 › Rpc: GetAddresses › softwareWallet › the promise resolves with addresses successfully
[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 (2.8m)
|
🎭 Playwright Run Summary
3 flaky
[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
[chromium] › specs/network/add-network.spec.ts:40:3 › Networks tests › validation error when key is empty
8 passed (3.7m)
|
🎭 Playwright Run Summary
3 flaky
[chromium] › specs/network/add-network.spec.ts:62:3 › Networks tests › unable to fetch info from stacks node
[chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile
[chromium] › specs/profile/profile.spec.ts:49:3 › Gaia profile request › should send a signed profile token to gaia
8 passed (4.1m)
|
🎭 Playwright Run Summary
5 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
1 skipped
4 passed (4.7m)
|
🎭 Playwright Run Summary
4 flaky
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:88:3 › Sign PSBT › that only requested inputs are signed
[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
[chromium] › specs/send/send-btc.spec.ts:32:5 › send btc › btc send form › that recipient input is trimmed correctly
6 passed (4.8m)
|
🎭 Playwright Run Summary
5 flaky
[chromium] › specs/send/send-btc.spec.ts:87:5 › send btc › btc send form › that prevents transaction if it contains inscribed utxo
[chromium] › specs/send/send-btc.spec.ts:106:5 › send btc › btc send form › that fallbacks to other api provider if main fails
[chromium] › specs/send/send-stx.spec.ts:34:3 › send stx: tests on testnet › that empty memo on preview matches default empty value
[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
5 passed (5.3m)
|
🎭 Playwright Run Summary
6 flaky
[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:132:5 › send stx: tests on testnet › send form validation › that valid addresses are accepted
[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
[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:13:3 › Settings menu › that menu item takes user to support page
4 passed (5.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports
Expired
|
172 MB |
|