Skip to content

fix: only show swaps option on mainnet #4013

fix: only show swaps option on mainnet

fix: only show swaps option on mainnet #4013

Triggered via pull request December 14, 2023 15:09
Status Failure
Total duration 9m 21s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

playwright.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 7 notices
[chromium] › specs/send/send-btc.spec.ts:31:9 › send btc › btc send form › that recipient input is trimmed correctly: tests/specs/send/send-btc.spec.ts#L11
1) [chromium] › specs/send/send-btc.spec.ts:31:9 › send btc › btc send form › that recipient input is trimmed correctly Test timeout of 30000ms exceeded while running "beforeEach" hook. 9 | 10 | test.describe('send btc', () => { > 11 | test.beforeEach(async ({ extensionId, globalPage, homePage, onboardingPage, sendPage }) => { | ^ 12 | await globalPage.setupAndUseApiCalls(extensionId); 13 | await onboardingPage.signInWithTestAccount(extensionId); 14 | await homePage.enableTestMode(); at /home/runner/work/extension/extension/tests/specs/send/send-btc.spec.ts:11:8
[chromium] › specs/send/send-btc.spec.ts:64:9 › send btc › btc send form › that fee value on preview match chosen one: tests/specs/send/send-btc.spec.ts#L11
2) [chromium] › specs/send/send-btc.spec.ts:64:9 › send btc › btc send form › that fee value on preview match chosen one Test timeout of 30000ms exceeded while running "beforeEach" hook. 9 | 10 | test.describe('send btc', () => { > 11 | test.beforeEach(async ({ extensionId, globalPage, homePage, onboardingPage, sendPage }) => { | ^ 12 | await globalPage.setupAndUseApiCalls(extensionId); 13 | await onboardingPage.signInWithTestAccount(extensionId); 14 | await homePage.enableTestMode(); at /home/runner/work/extension/extension/tests/specs/send/send-btc.spec.ts:11:8
[chromium] › specs/swap/swap.spec.ts:14:7 › Swaps › that it defaults to swapping STX: tests/specs/swap/swap.spec.ts#L6
1) [chromium] › specs/swap/swap.spec.ts:14:7 › 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.enableTestMode(); at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:6:8
[chromium] › specs/swap/swap.spec.ts:14:7 › Swaps › that it defaults to swapping STX: tests/specs/swap/swap.spec.ts#L6
1) [chromium] › specs/swap/swap.spec.ts:14:7 › Swaps › that it defaults to swapping STX ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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.enableTestMode(); at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:6:8
[chromium] › specs/swap/swap.spec.ts:14:7 › Swaps › that it defaults to swapping STX: tests/specs/swap/swap.spec.ts#L6
1) [chromium] › specs/swap/swap.spec.ts:14:7 › Swaps › that it defaults to swapping STX ────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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.enableTestMode(); at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:6:8
[chromium] › specs/swap/swap.spec.ts:18:7 › Swaps › that it shows correct swap review details: tests/specs/swap/swap.spec.ts#L6
2) [chromium] › specs/swap/swap.spec.ts:18:7 › Swaps › that it shows correct swap review details ─ 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.enableTestMode(); at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:6:8
[chromium] › specs/swap/swap.spec.ts:18:7 › Swaps › that it shows correct swap review details: tests/specs/swap/swap.spec.ts#L6
2) [chromium] › specs/swap/swap.spec.ts:18:7 › Swaps › that it shows correct swap review details ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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.enableTestMode(); at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:6:8
[chromium] › specs/swap/swap.spec.ts:18:7 › Swaps › that it shows correct swap review details: tests/specs/swap/swap.spec.ts#L6
2) [chromium] › specs/swap/swap.spec.ts:18:7 › Swaps › that it shows correct swap review details ─ Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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.enableTestMode(); at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:6:8
[chromium] › specs/swap/swap.spec.ts:39:7 › Swaps › that the swap is broadcast: tests/specs/swap/swap.spec.ts#L6
3) [chromium] › specs/swap/swap.spec.ts:39:7 › Swaps › that the swap is broadcast ──────────────── 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.enableTestMode(); at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:6:8
[chromium] › specs/swap/swap.spec.ts:39:7 › Swaps › that the swap is broadcast: tests/specs/swap/swap.spec.ts#L6
3) [chromium] › specs/swap/swap.spec.ts:39:7 › Swaps › that the swap is broadcast ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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.enableTestMode(); at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:6:8
[chromium] › specs/swap/swap.spec.ts:39:7 › Swaps › that the swap is broadcast: tests/specs/swap/swap.spec.ts#L6
3) [chromium] › specs/swap/swap.spec.ts:39:7 › Swaps › that the swap is broadcast ──────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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.enableTestMode(); at /home/runner/work/extension/extension/tests/specs/swap/swap.spec.ts:6:8
Shard 8 of 8
Process completed with exit code 1.
Merge reports
Action failed with "The process '/usr/bin/git' failed with exit code 1"
🎭 Playwright Run Summary
7 passed (1.0m)
🎭 Playwright Run Summary
3 skipped 5 passed (40.6s)
🎭 Playwright Run Summary
8 passed (1.3m)
🎭 Playwright Run Summary
7 passed (1.5m)
🎭 Playwright Run Summary
9 passed (1.7m)
🎭 Playwright Run Summary
2 flaky [chromium] › specs/send/send-btc.spec.ts:31:9 › send btc › btc send form › that recipient input is trimmed correctly [chromium] › specs/send/send-btc.spec.ts:64:9 › send btc › btc send form › that fee value on preview match chosen one 13 passed (2.0m)
🎭 Playwright Run Summary
3 failed [chromium] › specs/swap/swap.spec.ts:14:7 › Swaps › that it defaults to swapping STX ─────────── [chromium] › specs/swap/swap.spec.ts:18:7 › Swaps › that it shows correct swap review details ── [chromium] › specs/swap/swap.spec.ts:39:7 › Swaps › that the swap is broadcast ───────────────── 4 passed (5.4m)

Artifacts

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