Skip to content

fix: Ledger - cancel properly and don't allow user to close non cancellable sections #5599

fix: Ledger - cancel properly and don't allow user to close non cancellable sections

fix: Ledger - cancel properly and don't allow user to close non cancellable sections #5599

Re-run triggered May 15, 2024 10:01
Status Success
Total duration 7m 41s
Artifacts 1

playwright.yml

on: pull_request
Matrix: test
Merge reports
1m 7s
Merge reports
Fit to window
Zoom out
Zoom in

Annotations

46 errors, 10 warnings, and 8 notices
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:102:3 › Sign PSBT › that the request can be signed and broadcast: tests/specs/rpc-sign-psbt/sign-psbt.spec.ts#L1
1) [chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:102:3 › Sign PSBT › that the request can be signed and broadcast Test timeout of 30000ms exceeded.
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:102:3 › Sign PSBT › that the request can be signed and broadcast: tests/specs/rpc-sign-psbt/sign-psbt.spec.ts#L62
1) [chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:102:3 › Sign PSBT › that the request can be signed and broadcast Error: page.evaluate: Target page, context or browser has been closed 60 | function initiatePsbtSigning(page: Page) { 61 | return async (params: SignPsbtRequestParams & { broadcast?: boolean }) => > 62 | page.evaluate( | ^ 63 | async params => 64 | (window as any).LeatherProvider.request('signPsbt', { 65 | ...params, at /home/runner/work/extension/extension/tests/specs/rpc-sign-psbt/sign-psbt.spec.ts:62:12 at /home/runner/work/extension/extension/tests/specs/rpc-sign-psbt/sign-psbt.spec.ts:106:32
[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#L290
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: 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-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer: tests/specs/rpc-stacks-transaction/transaction-signing.spec.ts#L14
3) [chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer Test timeout of 30000ms exceeded while running "beforeEach" hook. 12 | 13 | test.describe('Transaction signing', () => { > 14 | test.beforeEach(async ({ extensionId, globalPage, onboardingPage, page }) => { | ^ 15 | await globalPage.setupAndUseApiCalls(extensionId); 16 | await onboardingPage.signInWithTestAccount(extensionId); 17 | await page.goto('localhost:3000', { waitUntil: 'networkidle' }); at /home/runner/work/extension/extension/tests/specs/rpc-stacks-transaction/transaction-signing.spec.ts:14:8
[chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer: tests/page-object-models/onboarding.page.ts#L286
3) [chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer 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/rpc-stacks-transaction/transaction-signing.spec.ts:16:5
[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
4) [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
4) [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/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
1) [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#L284
1) [chromium] › specs/settings/settings.spec.ts:46:3 › Settings menu › that menu item allows viewing and saving secret key to clipboard 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/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
2) [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#L290
2) [chromium] › specs/swap/swap.spec.ts:13:3 › Swaps › that it defaults to swapping STX ────────── Error: page.goto: Target page, context or browser has been closed Call log: - navigating to "chrome-extension://ecglnfnhimaihdkpolkogpngodkkjhdm/index.html", waiting until "load" at page-object-models/onboarding.page.ts:290 288 | testSoftwareAccountDefaultWalletState 289 | ); > 290 | await this.page.goto(`chrome-extension://${id}/index.html`); | ^ 291 | } 292 | await test.expect(this.page.getByText('Enter your password')).toBeVisible(); 293 | await this.page.getByRole('textbox').fill(TEST_PASSWORD); at OnboardingPage.signInWithTestAccount (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:290:23) at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:8:5
[chromium] › specs/send/send-btc.spec.ts:44:5 › send btc › btc send form › that asset value and recipient on preview match input: tests/specs/send/send-btc.spec.ts#L12
1) [chromium] › specs/send/send-btc.spec.ts:44:5 › send btc › btc send form › that asset value and recipient on preview match input 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:44:5 › send btc › btc send form › that asset value and recipient on preview match input: tests/page-object-models/onboarding.page.ts#L284
1) [chromium] › specs/send/send-btc.spec.ts:44:5 › send btc › btc send form › that asset value and recipient on preview match input 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-btc.spec.ts:14: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/home.page.ts#L107
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.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-stx.spec.ts:21:5
[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
1) [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
1) [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/ledger/ledger.spec.ts:32:9 › App with Ledger › withStacksKeysOnly › stacks address is shown by default: tests/specs/ledger/ledger.spec.ts#L1
1) [chromium] › specs/ledger/ledger.spec.ts:32:9 › App with Ledger › withStacksKeysOnly › stacks address is shown by default Test timeout of 30000ms exceeded.
[chromium] › specs/ledger/ledger.spec.ts:32:9 › App with Ledger › withStacksKeysOnly › stacks address is shown by default: tests/page-object-models/home.page.ts#L56
1) [chromium] › specs/ledger/ledger.spec.ts:32:9 › App with Ledger › withStacksKeysOnly › stacks address is shown by default Error: locator.click: Target page, context or browser has been closed Call log: - waiting for getByTestId('receive-crypto-asset-btn') at page-object-models/home.page.ts:56 54 | 55 | async goToReceiveDialog() { > 56 | await this.page.getByTestId(HomePageSelectors.ReceiveCryptoAssetBtn).click(); | ^ 57 | } 58 | 59 | // Open issue with Playwright's ability to copyToClipboard from legacy tests: at HomePage.goToReceiveDialog (/home/runner/work/extension/extension/tests/page-object-models/home.page.ts:56:74) at HomePage.getReceiveStxAddress (/home/runner/work/extension/extension/tests/page-object-models/home.page.ts:89:16) at /home/runner/work/extension/extension/tests/specs/ledger/ledger.spec.ts:33:48
[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: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#L284
3) [chromium] › specs/network/add-network.spec.ts:40:3 › Networks tests › validation error when key is empty 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/network/add-network.spec.ts:50:3 › Networks tests › validation error when bitcoin api url is empty: tests/specs/network/add-network.spec.ts#L7
4) [chromium] › specs/network/add-network.spec.ts:50:3 › Networks tests › validation error when bitcoin 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:50:3 › Networks tests › validation error when bitcoin api url is empty: tests/page-object-models/onboarding.page.ts#L290
4) [chromium] › specs/network/add-network.spec.ts:50:3 › Networks tests › validation error when bitcoin 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: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#L290
1) [chromium] › specs/network/add-network.spec.ts:62:3 › Networks tests › unable to fetch info from stacks 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/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/send/send-stx.spec.ts:117:5 › send stx: tests on testnet › send form validation › that the address must be valid: tests/specs/send/send-stx.spec.ts#L18
1) [chromium] › specs/send/send-stx.spec.ts:117:5 › send stx: tests on testnet › send form validation › that the address must be valid 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:117:5 › send stx: tests on testnet › send form validation › that the address must be valid: tests/page-object-models/onboarding.page.ts#L284
1) [chromium] › specs/send/send-stx.spec.ts:117:5 › send stx: tests on testnet › send form validation › that the address must be valid 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/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#L290
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.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: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
3) [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
[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/page-object-models/home.page.ts#L107
3) [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 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-stx.spec.ts:21: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#L172
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 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:195:5 › send stx: tests on mainnet › send form input fields › that fee row defaults to middle fee estimation: tests/page-object-models/onboarding.page.ts#L290
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: 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/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#L290
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: 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
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 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 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 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 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 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/.
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/
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/.
🎭 Playwright Run Summary
4 flaky [chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts:102:3 › Sign PSBT › that the request can be signed and broadcast [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/rpc-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer [chromium] › specs/send/send-btc.spec.ts:22:5 › send btc › btc send form › that it shows preview of tx details to be confirmed 6 passed (4.7m)
🎭 Playwright Run Summary
2 flaky [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 ─────────── 1 skipped 7 passed (3.5m)
🎭 Playwright Run Summary
5 flaky [chromium] › specs/send/send-btc.spec.ts:44:5 › send btc › btc send form › that asset value and recipient on preview match input [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 (6.0m)
🎭 Playwright Run Summary
1 flaky [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 8 passed (2.2m)
🎭 Playwright Run Summary
4 flaky [chromium] › specs/ledger/ledger.spec.ts:32:9 › App with Ledger › withStacksKeysOnly › stacks address is shown by default [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:40:3 › Networks tests › validation error when key is empty [chromium] › specs/network/add-network.spec.ts:50:3 › Networks tests › validation error when bitcoin api url is empty 7 passed (4.1m)
🎭 Playwright Run Summary
2 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 9 passed (3.2m)
🎭 Playwright Run Summary
4 skipped 7 passed (54.8s)
🎭 Playwright Run Summary
5 flaky [chromium] › specs/send/send-stx.spec.ts:117:5 › send stx: tests on testnet › send form validation › that the address must be valid [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: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: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 5 passed (5.1m)

Artifacts

Produced during runtime
Name Size
all-blob-reports Expired
132 MB