Skip to content

feat: sbtc integration #7248

feat: sbtc integration

feat: sbtc integration #7248

Triggered via pull request December 11, 2024 18:40
Status Failure
Total duration 5m 24s
Artifacts 1

playwright.yml

on: pull_request
Matrix: test
Merge reports
23s
Merge reports
Fit to window
Zoom out
Zoom in

Annotations

18 errors, 28 warnings, and 10 notices
[chromium] › specs/profile/profile.spec.ts:21:3 › Profile updating › should show an error for invalid profile: tests/page-object-models/onboarding.page.ts#L303
1) [chromium] › specs/profile/profile.spec.ts:21:3 › Profile updating › should show an error for invalid profile Error: Unable to initialised wallet state at page-object-models/onboarding.page.ts:303 301 | 302 | do { > 303 | if (iterationCounter.getValue() > 5) throw new Error('Unable to initialised wallet state'); | ^ 304 | 305 | await this.page.evaluate( 306 | async walletState => chrome.storage.local.set({ 'persist:root': walletState }), at OnboardingPage.signInWithTestAccount (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:303:50) at /home/runner/work/extension/extension/tests/specs/profile/profile.spec.ts:17:5
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › 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:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise resolves with addresses successfully Test timeout of 30000ms exceeded.
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise resolves with addresses successfully: tests/specs/rpc-get-addresses/get-addresses.spec.ts#L104
1) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › 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" 102 | 103 | test('the promise resolves with addresses successfully', async ({ page, context }) => { > 104 | await page.goto('localhost:3000'); | ^ 105 | const getAddressesPromise = initiateGetAddresses(page); 106 | 107 | const popup = await interceptRequestPopup(context); at /home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:104:20
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise resolves with addresses successfully: tests/specs/rpc-get-addresses/get-addresses.spec.ts#L71
1) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise resolves with addresses successfully Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('get-addresses-approve-button') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByTestId('get-addresses-approve-button') 69 | async function clickConnectLeatherButton(popup: Page) { 70 | const button = popup.getByTestId('get-addresses-approve-button'); > 71 | await test.expect(button).toBeVisible(); | ^ 72 | await button.click(); 73 | } 74 | at clickConnectLeatherButton (/home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:71:29) at /home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:108:15
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise resolves with addresses successfully: tests/specs/rpc-get-addresses/get-addresses.spec.ts#L66
1) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise resolves with addresses successfully Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: Target page, context or browser has been closed 64 | 65 | async function initiateGetAddresses(page: Page) { > 66 | return page.evaluate(async () => (window as any).LeatherProvider?.request('getAddresses')); | ^ 67 | } 68 | 69 | async function clickConnectLeatherButton(popup: Page) { at initiateGetAddresses (/home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:66:15) at /home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:105:37
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › 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:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise resolves with addresses successfully Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise resolves with addresses successfully: tests/specs/rpc-get-addresses/get-addresses.spec.ts#L104
1) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise resolves with addresses successfully Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: Target page, context or browser has been closed Call log: - navigating to "localhost:3000", waiting until "load" 102 | 103 | test('the promise resolves with addresses successfully', async ({ page, context }) => { > 104 | await page.goto('localhost:3000'); | ^ 105 | const getAddressesPromise = initiateGetAddresses(page); 106 | 107 | const popup = await interceptRequestPopup(context); at /home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:104:20
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise resolves with addresses successfully: tests/specs/rpc-get-addresses/get-addresses.spec.ts#L1
2) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise resolves with addresses successfully Test timeout of 30000ms exceeded.
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise resolves with addresses successfully: tests/specs/rpc-get-addresses/get-addresses.spec.ts#L104
2) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › 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" 102 | 103 | test('the promise resolves with addresses successfully', async ({ page, context }) => { > 104 | await page.goto('localhost:3000'); | ^ 105 | const getAddressesPromise = initiateGetAddresses(page); 106 | 107 | const popup = await interceptRequestPopup(context); at /home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:104:20
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:117:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise rejects when user closes popup window: tests/specs/rpc-get-addresses/get-addresses.spec.ts#L1
3) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:117:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise rejects when user closes popup window Test timeout of 30000ms exceeded.
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:117:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise rejects when user closes popup window: tests/specs/rpc-get-addresses/get-addresses.spec.ts#L118
3) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:117:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise rejects when user closes popup window Error: page.goto: Target page, context or browser has been closed Call log: - navigating to "localhost:3000", waiting until "load" 116 | 117 | test('the promise rejects when user closes popup window', async ({ page, context }) => { > 118 | await page.goto('localhost:3000'); | ^ 119 | const getAddressesPromise = initiateGetAddresses(page); 120 | const popup = await interceptRequestPopup(context); 121 | await popup.close(); at /home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:118:20
[chromium] › specs/send/send-sip10.spec.ts:20:3 › Send sip10 › can send sip10 token: tests/specs/send/send-sip10.spec.ts#L1
1) [chromium] › specs/send/send-sip10.spec.ts:20:3 › Send sip10 › can send sip10 token ─────────── Test timeout of 30000ms exceeded.
[chromium] › specs/send/send-sip10.spec.ts:20:3 › Send sip10 › can send sip10 token: tests/page-object-models/send.page.ts#L131
1) [chromium] › specs/send/send-sip10.spec.ts:20:3 › Send sip10 › can send sip10 token ─────────── Error: locator.click: Target page, context or browser has been closed Call log: - waiting for getByTestId('confirm-send-tx-btn') at page-object-models/send.page.ts:131 129 | 130 | async confirmSendTransaction() { > 131 | await this.page.getByTestId(SendCryptoAssetSelectors.ConfirmSendTxBtn).click(); | ^ 132 | } 133 | } 134 | at SendPage.confirmSendTransaction (/home/runner/work/extension/extension/tests/page-object-models/send.page.ts:131:76) at /home/runner/work/extension/extension/tests/specs/send/send-sip10.spec.ts:28:20
[chromium] › specs/send/send-sip10.spec.ts:20:3 › Send sip10 › can send sip10 token: tests/specs/send/send-sip10.spec.ts#L1
1) [chromium] › specs/send/send-sip10.spec.ts:20:3 › Send sip10 › can send sip10 token ─────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › specs/send/send-sip10.spec.ts:20:3 › Send sip10 › can send sip10 token: tests/page-object-models/send.page.ts#L131
1) [chromium] › specs/send/send-sip10.spec.ts:20:3 › Send sip10 › can send sip10 token ─────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Target page, context or browser has been closed Call log: - waiting for getByTestId('confirm-send-tx-btn') at page-object-models/send.page.ts:131 129 | 130 | async confirmSendTransaction() { > 131 | await this.page.getByTestId(SendCryptoAssetSelectors.ConfirmSendTxBtn).click(); | ^ 132 | } 133 | } 134 | at SendPage.confirmSendTransaction (/home/runner/work/extension/extension/tests/page-object-models/send.page.ts:131:76) at /home/runner/work/extension/extension/tests/specs/send/send-sip10.spec.ts:28:20
[chromium] › specs/send/send-sip10.spec.ts:20:3 › Send sip10 › can send sip10 token: tests/specs/send/send-sip10.spec.ts#L1
1) [chromium] › specs/send/send-sip10.spec.ts:20:3 › Send sip10 › can send sip10 token ─────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › specs/send/send-sip10.spec.ts:20:3 › Send sip10 › can send sip10 token: tests/page-object-models/send.page.ts#L131
1) [chromium] › specs/send/send-sip10.spec.ts:20:3 › Send sip10 › can send sip10 token ─────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Target page, context or browser has been closed Call log: - waiting for getByTestId('confirm-send-tx-btn') at page-object-models/send.page.ts:131 129 | 130 | async confirmSendTransaction() { > 131 | await this.page.getByTestId(SendCryptoAssetSelectors.ConfirmSendTxBtn).click(); | ^ 132 | } 133 | } 134 | at SendPage.confirmSendTransaction (/home/runner/work/extension/extension/tests/page-object-models/send.page.ts:131:76) at /home/runner/work/extension/extension/tests/specs/send/send-sip10.spec.ts:28:20
Shard 8 of 10
Process completed with exit code 1.
Shard 2 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/manage-transaction/manage-transaction.spec.ts#L1
[chromium] › specs/manage-transaction/manage-transaction.spec.ts took 16.4s
Slow Test: [chromium] › specs/message-signing/bip322-message-signing.spec.ts#L1
[chromium] › specs/message-signing/bip322-message-signing.spec.ts took 15.6s
Shard 7 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/send/send-inscription.spec.ts#L1
[chromium] › specs/send/send-inscription.spec.ts took 41.1s
Shard 9 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/settings/settings.spec.ts#L1
[chromium] › specs/settings/settings.spec.ts took 43.5s
Shard 3 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/network/add-network.spec.ts#L1
[chromium] › specs/network/add-network.spec.ts took 1.1m
Shard 1 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/ledger/ledger.spec.ts#L1
[chromium] › specs/ledger/ledger.spec.ts took 47.9s
Slow Test: [chromium] › specs/compliance-checks/compliance-checks.spec.ts#L1
[chromium] › specs/compliance-checks/compliance-checks.spec.ts took 24.1s
Slow Test: [chromium] › specs/fund/fund.spec.ts#L1
[chromium] › specs/fund/fund.spec.ts took 16.3s
Shard 10 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/swap/swap.spec.ts#L1
[chromium] › specs/swap/swap.spec.ts took 57.2s
Slow Test: [chromium] › specs/transactions/transactions.spec.ts#L1
[chromium] › specs/transactions/transactions.spec.ts took 27.7s
Shard 4 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/onboarding/onboarding.spec.ts#L1
[chromium] › specs/onboarding/onboarding.spec.ts took 58.3s
Shard 6 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/send/send-btc.spec.ts#L1
[chromium] › specs/send/send-btc.spec.ts took 47.5s
Slow Test: [chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts#L1
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts took 38.1s
Slow Test: [chromium] › specs/rpc-open/open.spec.ts#L1
[chromium] › specs/rpc-open/open.spec.ts took 21.4s
Slow Test: [chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts#L1
[chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts took 16.8s
Shard 5 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Shard 8 of 10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [chromium] › specs/send/send-stx.spec.ts#L1
[chromium] › specs/send/send-stx.spec.ts took 2.0m
Merge reports
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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
6 passed (51.0s)
🎭 Playwright Run Summary
5 passed (46.2s)
🎭 Playwright Run Summary
6 passed (48.6s)
🎭 Playwright Run Summary
9 passed (1.2m)
🎭 Playwright Run Summary
17 passed (1.7m)
🎭 Playwright Run Summary
7 passed (1.6m)
🎭 Playwright Run Summary
1 flaky [chromium] › specs/profile/profile.spec.ts:21:3 › Profile updating › should show an error for invalid profile 9 passed (2.1m)
🎭 Playwright Run Summary
15 passed (2.1m)
🎭 Playwright Run Summary
1 failed [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise resolves with addresses successfully 2 flaky [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise resolves with addresses successfully [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:117:7 › Rpc: GetAddresses › ledgerWithStacksKeysOnly › the promise rejects when user closes popup window 7 passed (3.4m)
🎭 Playwright Run Summary
1 failed [chromium] › specs/send/send-sip10.spec.ts:20:3 › Send sip10 › can send sip10 token ──────────── 16 passed (3.6m)

Artifacts

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