refactor: bitcoin swaps #7362
Annotations
10 errors, 2 warnings, and 1 notice
Run Playwright tests:
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.
|
Run Playwright tests:
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
|
Run Playwright tests:
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.
|
Run Playwright tests:
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
|
Run Playwright tests:
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.
|
Run Playwright tests:
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
|
Run Playwright tests:
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.
|
Run Playwright tests:
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
|
Run Playwright tests:
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
|
Run Playwright tests:
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
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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
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)
|
Loading