refactor: bitcoin swaps #7362
playwright.yml
on: pull_request
Matrix: test
Merge reports
25s
Annotations
24 errors, 27 warnings, and 10 notices
[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
1) [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
1) [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-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#L1
1) [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.
|
[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#L38
1) [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
36 | function initiateTxSigning(page: Page) {
37 | return async (txHex: string) =>
> 38 | page.evaluate(
| ^
39 | async txHex =>
40 | (window as any).LeatherProvider.request('stx_signTransaction', {
41 | txHex,
at /home/runner/work/extension/extension/tests/specs/rpc-stacks-transaction/transaction-signing.spec.ts:38:12
at /home/runner/work/extension/extension/tests/specs/rpc-stacks-transaction/transaction-signing.spec.ts:63:30
|
[chromium] › specs/swap/swap.spec.ts:50:3 › Swaps › that it preselects cross chain swap assets and restricts quote list:
tests/specs/swap/swap.spec.ts#L1
1) [chromium] › specs/swap/swap.spec.ts:50:3 › Swaps › that it preselects cross chain swap assets and restricts quote list
Test timeout of 30000ms exceeded.
|
[chromium] › specs/swap/swap.spec.ts:50:3 › Swaps › that it preselects cross chain swap assets and restricts quote list:
tests/specs/swap/swap.spec.ts#L55
1) [chromium] › specs/swap/swap.spec.ts:50:3 › Swaps › that it preselects cross chain swap assets and restricts quote list
Error: locator.innerText: Target page, context or browser has been closed
Call log:
- waiting for locator('text="sBTC"')
53 | await swapPage.selectBtcAsBaseAsset();
54 |
> 55 | const quoteAsset = await swapPage.page.locator('text="sBTC"').innerText();
| ^
56 | test.expect(quoteAsset).toEqual('sBTC');
57 |
58 | await swapPage.selectQuoteAsset();
at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:55:67
|
[chromium] › specs/swap/swap.spec.ts:50:3 › Swaps › that it preselects cross chain swap assets and restricts quote list:
tests/specs/swap/swap.spec.ts#L1
1) [chromium] › specs/swap/swap.spec.ts:50:3 › Swaps › that it preselects cross chain swap assets and restricts quote list
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[chromium] › specs/swap/swap.spec.ts:50:3 › Swaps › that it preselects cross chain swap assets and restricts quote list:
tests/specs/swap/swap.spec.ts#L55
1) [chromium] › specs/swap/swap.spec.ts:50:3 › Swaps › that it preselects cross chain swap assets and restricts quote list
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.innerText: Target page, context or browser has been closed
Call log:
- waiting for locator('text="sBTC"')
53 | await swapPage.selectBtcAsBaseAsset();
54 |
> 55 | const quoteAsset = await swapPage.page.locator('text="sBTC"').innerText();
| ^
56 | test.expect(quoteAsset).toEqual('sBTC');
57 |
58 | await swapPage.selectQuoteAsset();
at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:55:67
|
[chromium] › specs/swap/swap.spec.ts:50:3 › Swaps › that it preselects cross chain swap assets and restricts quote list:
tests/specs/swap/swap.spec.ts#L1
1) [chromium] › specs/swap/swap.spec.ts:50:3 › Swaps › that it preselects cross chain swap assets and restricts quote list
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[chromium] › specs/swap/swap.spec.ts:50:3 › Swaps › that it preselects cross chain swap assets and restricts quote list:
tests/specs/swap/swap.spec.ts#L55
1) [chromium] › specs/swap/swap.spec.ts:50:3 › Swaps › that it preselects cross chain swap assets and restricts quote list
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.innerText: Target page, context or browser has been closed
Call log:
- waiting for locator('text="sBTC"')
53 | await swapPage.selectBtcAsBaseAsset();
54 |
> 55 | const quoteAsset = await swapPage.page.locator('text="sBTC"').innerText();
| ^
56 | test.expect(quoteAsset).toEqual('sBTC');
57 |
58 | await swapPage.selectQuoteAsset();
at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:55:67
|
[chromium] › specs/transactions/transactions.spec.ts:55:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount:
tests/specs/transactions/transactions.spec.ts#L1
2) [chromium] › specs/transactions/transactions.spec.ts:55:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount
Test timeout of 30000ms exceeded.
|
[chromium] › specs/transactions/transactions.spec.ts:55:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount:
tests/specs/transactions/transactions.spec.ts#L78
2) [chromium] › specs/transactions/transactions.spec.ts:55:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount
Error: page.waitForRequest: Target page, context or browser has been closed
=========================== logs ===========================
waiting for request "*/**/v2/transactions"
============================================================
76 | if (!displayedFee) throw new Error('Cannot pull fee from UI');
77 |
> 78 | const requestPromise = transactionRequestPage.page.waitForRequest('*/**/v2/transactions');
| ^
79 |
80 | await transactionRequestPage.page.route('*/**/v2/transactions', async route => {
81 | await route.abort();
at /home/runner/work/extension/extension/tests/specs/transactions/transactions.spec.ts:78:58
|
[chromium] › specs/transactions/transactions.spec.ts:55:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount:
tests/specs/transactions/transactions.spec.ts#L78
2) [chromium] › specs/transactions/transactions.spec.ts:55:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForRequest: Page crashed
=========================== logs ===========================
waiting for request "*/**/v2/transactions"
============================================================
76 | if (!displayedFee) throw new Error('Cannot pull fee from UI');
77 |
> 78 | const requestPromise = transactionRequestPage.page.waitForRequest('*/**/v2/transactions');
| ^
79 |
80 | await transactionRequestPage.page.route('*/**/v2/transactions', async route => {
81 | await route.abort();
at /home/runner/work/extension/extension/tests/specs/transactions/transactions.spec.ts:78:58
|
[chromium] › specs/transactions/transactions.spec.ts:55:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount:
tests/page-object-models/transaction-request.page.ts#L18
2) [chromium] › specs/transactions/transactions.spec.ts:55:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.click: Target crashed
Call log:
- waiting for locator('[data-testid="btn-confirm-transaction"]')
- locator resolved to <button disabled type="submit" aria-busy="false" data-testid="btn-confirm-transaction" class="leather-mt_space.04 leather-button leather-button--size_md leather-button--variant_solid leather-button--fullWidth_true leather-h_48px leather-py_unset">…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #5
- waiting 500ms
at page-object-models/transaction-request.page.ts:18
16 |
17 | async clickConfirmTransactionButton() {
> 18 | return this.page.click(this.confirmTransactionBtnSelector);
| ^
19 | }
20 |
21 | async getDisplayedFeeValue() {
at TransactionRequestPage.clickConfirmTransactionButton (/home/runner/work/extension/extension/tests/page-object-models/transaction-request.page.ts:18:22)
at /home/runner/work/extension/extension/tests/specs/transactions/transactions.spec.ts:84:36
|
[chromium] › specs/send/send-stx.spec.ts:30:3 › send stx: tests on testnet › that we show high fee warning in case of high custom fee:
tests/specs/send/send-stx.spec.ts#L1
1) [chromium] › specs/send/send-stx.spec.ts:30:3 › send stx: tests on testnet › that we show high fee warning in case of high custom fee
Test timeout of 30000ms exceeded.
|
[chromium] › specs/send/send-stx.spec.ts:30:3 › send stx: tests on testnet › that we show high fee warning in case of high custom fee:
tests/specs/send/send-stx.spec.ts#L46
1) [chromium] › specs/send/send-stx.spec.ts:30:3 › send stx: tests on testnet › that we show high fee warning in case of high custom fee
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByTestId('high-fee-warning-sheet-submit')
44 |
45 | await page.getByTestId(SendCryptoAssetSelectors.HighFeeWarningSheet).isVisible();
> 46 | await page.getByTestId(SendCryptoAssetSelectors.HighFeeWarningSheetSubmit).click();
| ^
47 |
48 | const details = await sendPage.confirmationDetails.allInnerTexts();
49 | test.expect(details).toBeTruthy();
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:46:80
|
[chromium] › specs/send/send-stx.spec.ts:30:3 › send stx: tests on testnet › that we show high fee warning in case of high custom fee:
tests/specs/send/send-stx.spec.ts#L1
1) [chromium] › specs/send/send-stx.spec.ts:30:3 › send stx: tests on testnet › that we show high fee warning in case of high custom fee
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[chromium] › specs/send/send-stx.spec.ts:30:3 › send stx: tests on testnet › that we show high fee warning in case of high custom fee:
tests/specs/send/send-stx.spec.ts#L46
1) [chromium] › specs/send/send-stx.spec.ts:30:3 › send stx: tests on testnet › that we show high fee warning in case of high custom fee
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByTestId('high-fee-warning-sheet-submit')
44 |
45 | await page.getByTestId(SendCryptoAssetSelectors.HighFeeWarningSheet).isVisible();
> 46 | await page.getByTestId(SendCryptoAssetSelectors.HighFeeWarningSheetSubmit).click();
| ^
47 |
48 | const details = await sendPage.confirmationDetails.allInnerTexts();
49 | test.expect(details).toBeTruthy();
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:46:80
|
[chromium] › specs/send/send-stx.spec.ts:30:3 › send stx: tests on testnet › that we show high fee warning in case of high custom fee:
tests/specs/send/send-stx.spec.ts#L1
1) [chromium] › specs/send/send-stx.spec.ts:30:3 › send stx: tests on testnet › that we show high fee warning in case of high custom fee
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[chromium] › specs/send/send-stx.spec.ts:30:3 › send stx: tests on testnet › that we show high fee warning in case of high custom fee:
tests/specs/send/send-stx.spec.ts#L46
1) [chromium] › specs/send/send-stx.spec.ts:30:3 › send stx: tests on testnet › that we show high fee warning in case of high custom fee
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByTestId('high-fee-warning-sheet-submit')
44 |
45 | await page.getByTestId(SendCryptoAssetSelectors.HighFeeWarningSheet).isVisible();
> 46 | await page.getByTestId(SendCryptoAssetSelectors.HighFeeWarningSheetSubmit).click();
| ^
47 |
48 | const details = await sendPage.confirmationDetails.allInnerTexts();
49 | test.expect(details).toBeTruthy();
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:46:80
|
[chromium] › specs/send/send-stx.spec.ts:60:3 › send stx: tests on testnet › that empty memo on preview matches default empty value:
tests/specs/send/send-stx.spec.ts#L1
2) [chromium] › specs/send/send-stx.spec.ts:60:3 › send stx: tests on testnet › that empty memo on preview matches default empty value
Test timeout of 30000ms exceeded.
|
[chromium] › specs/send/send-stx.spec.ts:60:3 › send stx: tests on testnet › that empty memo on preview matches default empty value:
tests/specs/send/send-stx.spec.ts#L74
2) [chromium] › specs/send/send-stx.spec.ts:60:3 › send stx: tests on testnet › that empty memo on preview matches default empty value
Error: locator.innerText: Target page, context or browser has been closed
Call log:
- waiting for getByTestId('confirmation-details-memo').getByTestId('info-card-row-value')
72 | const confirmationMemo = await sendPage.memoRow
73 | .getByTestId(SharedComponentsSelectors.InfoCardRowValue)
> 74 | .innerText();
| ^
75 |
76 | test.expect(confirmationMemo).toEqual(emptyMemoPreviewValue);
77 | });
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:74:8
|
[chromium] › specs/send/send-stx.spec.ts:60:3 › send stx: tests on testnet › that empty memo on preview matches default empty value:
tests/specs/send/send-stx.spec.ts#L1
2) [chromium] › specs/send/send-stx.spec.ts:60:3 › send stx: tests on testnet › that empty memo on preview matches default empty value
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[chromium] › specs/send/send-stx.spec.ts:60:3 › send stx: tests on testnet › that empty memo on preview matches default empty value:
tests/specs/send/send-stx.spec.ts#L74
2) [chromium] › specs/send/send-stx.spec.ts:60:3 › send stx: tests on testnet › that empty memo on preview matches default empty value
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.innerText: Target page, context or browser has been closed
Call log:
- waiting for getByTestId('confirmation-details-memo').getByTestId('info-card-row-value')
72 | const confirmationMemo = await sendPage.memoRow
73 | .getByTestId(SharedComponentsSelectors.InfoCardRowValue)
> 74 | .innerText();
| ^
75 |
76 | test.expect(confirmationMemo).toEqual(emptyMemoPreviewValue);
77 | });
at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:74:8
|
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
|
Slow Test:
[chromium] › specs/rpc-open/open.spec.ts#L1
[chromium] › specs/rpc-open/open.spec.ts took 22.5s
|
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-tokens/manage-tokens.spec.ts#L1
[chromium] › specs/manage-tokens/manage-tokens.spec.ts took 18.5s
|
Slow Test:
[chromium] › specs/manage-transaction/manage-transaction.spec.ts#L1
[chromium] › specs/manage-transaction/manage-transaction.spec.ts took 17.8s
|
Slow Test:
[chromium] › specs/message-signing/bip322-message-signing.spec.ts#L1
[chromium] › specs/message-signing/bip322-message-signing.spec.ts took 16.4s
|
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 51.5s
|
Slow Test:
[chromium] › specs/compliance-checks/compliance-checks.spec.ts#L1
[chromium] › specs/compliance-checks/compliance-checks.spec.ts took 27.7s
|
Slow Test:
[chromium] › specs/fund/fund.spec.ts#L1
[chromium] › specs/fund/fund.spec.ts took 17.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.2m
|
Slow Test:
[chromium] › specs/onboarding/onboarding.spec.ts#L1
[chromium] › specs/onboarding/onboarding.spec.ts took 1.0m
|
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/profile/profile.spec.ts#L1
[chromium] › specs/profile/profile.spec.ts took 28.5s
|
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 51.8s
|
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 47.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 56.9s
|
Slow Test:
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts#L1
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts took 40.5s
|
Slow Test:
[chromium] › specs/rpc-send-transfer/rpc-send-transfer.spec.ts#L1
[chromium] › specs/rpc-send-transfer/rpc-send-transfer.spec.ts took 22.8s
|
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
|
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
|
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
2 passed (27.4s)
|
🎭 Playwright Run Summary
6 passed (57.7s)
|
🎭 Playwright Run Summary
17 passed (1.8m)
|
🎭 Playwright Run Summary
16 passed (2.3m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:103:7 › Rpc: GetAddresses › ledgerWithBitcoinAndStacksKey › the promise resolves with addresses successfully
12 passed (2.5m)
|
🎭 Playwright Run Summary
6 passed (56.7s)
|
🎭 Playwright Run Summary
5 passed (52.2s)
|
🎭 Playwright Run Summary
1 flaky
[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
14 passed (3.0m)
|
🎭 Playwright Run Summary
2 failed
[chromium] › specs/swap/swap.spec.ts:50:3 › Swaps › that it preselects cross chain swap assets and restricts quote list
[chromium] › specs/transactions/transactions.spec.ts:55:5 › Transaction signing › App initiated STX transfer › that it broadcasts correctly with given fee and amount
5 passed (4.9m)
|
🎭 Playwright Run Summary
3 failed
[chromium] › specs/send/send-stx.spec.ts:30:3 › send stx: tests on testnet › that we show high fee warning in case of high custom fee
[chromium] › specs/send/send-stx.spec.ts:60:3 › send stx: tests on testnet › that empty memo on preview matches default empty value
[chromium] › specs/send/send-stx.spec.ts:79:3 › send stx: tests on testnet › that asset value, recipient, memo and fees on preview match input
14 passed (6.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports
Expired
|
97.8 MB |
|