fix: Ledger - cancel properly and don't allow user to close non cancellable sections #5599
Annotations
8 errors, 2 warnings, and 1 notice
Run Playwright tests:
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.
|
Run Playwright tests:
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
|
Run Playwright tests:
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
|
Run Playwright tests:
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
|
Run Playwright tests:
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
|
Run Playwright tests:
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
|
Run Playwright tests:
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
|
Run Playwright tests:
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
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "all-blob-reports".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Run Playwright tests
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)
|
Loading