Skip to content

fix: axios get request for wallet config #3702

fix: axios get request for wallet config

fix: axios get request for wallet config #3702

Triggered via pull request November 20, 2023 19:30
Status Failure
Total duration 5m 53s
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

10 errors and 7 notices
[chromium] › specs/fund/fund.spec.ts:12:7 › Buy tokens test › should redirect to provider URL: tests/specs/fund/fund.spec.ts#L14
1) [chromium] › specs/fund/fund.spec.ts:12:7 › Buy tokens test › should redirect to provider URL ─ TypeError: Cannot read properties of undefined (reading 'innerText') 12 | test('should redirect to provider URL', async ({ page }) => { 13 | const providerNames = await page.getByTestId(FundPageSelectors.FiatProviderName).all(); > 14 | const name = await providerNames[0].innerText(); | ^ 15 | 16 | const providerItems = await page.getByTestId(FundPageSelectors.FiatProviderItem).all(); 17 | await providerItems[0].click(); at /home/runner/work/extension/extension/tests/specs/fund/fund.spec.ts:14:41
[chromium] › specs/send/send-stx.spec.ts:29:9 › send stx › tests on testnet › that send max button sets available balance minus fee: tests/specs/send/send-stx.spec.ts#L19
1) [chromium] › specs/send/send-stx.spec.ts:29:9 › send stx › tests on testnet › that send max button sets available balance minus fee "beforeAll" hook timeout of 30000ms exceeded. 17 | const amount = '0.000001'; 18 | let sPage: SendPage; > 19 | test.beforeAll(async ({ extensionId, globalPage, onboardingPage, homePage, sendPage }) => { | ^ 20 | await globalPage.setupAndUseApiCalls(extensionId); 21 | await onboardingPage.signInWithTestAccount(extensionId); 22 | await homePage.enableTestMode(); at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:19:10
[chromium] › specs/send/send-stx.spec.ts:29:9 › send stx › tests on testnet › that send max button sets available balance minus fee: tests/specs/send/send-stx.spec.ts#L19
1) [chromium] › specs/send/send-stx.spec.ts:29:9 › send stx › tests on testnet › that send max button sets available balance minus fee Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── "beforeAll" hook timeout of 30000ms exceeded. 17 | const amount = '0.000001'; 18 | let sPage: SendPage; > 19 | test.beforeAll(async ({ extensionId, globalPage, onboardingPage, homePage, sendPage }) => { | ^ 20 | await globalPage.setupAndUseApiCalls(extensionId); 21 | await onboardingPage.signInWithTestAccount(extensionId); 22 | await homePage.enableTestMode(); at /home/runner/work/extension/extension/tests/specs/send/send-stx.spec.ts:19:10
[chromium] › specs/send/send-btc.spec.ts:21:9 › send btc › btc send form › that it shows preview of tx details to be confirmed: tests/specs/send/send-btc.spec.ts#L11
1) [chromium] › specs/send/send-btc.spec.ts:21:9 › send btc › btc send form › that it shows preview of tx details to be confirmed 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:21:9 › send btc › btc send form › that it shows preview of tx details to be confirmed: tests/specs/send/send-btc.spec.ts#L11
1) [chromium] › specs/send/send-btc.spec.ts:21:9 › send btc › btc send form › that it shows preview of tx details to be confirmed Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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:21:9 › send btc › btc send form › that it shows preview of tx details to be confirmed: tests/specs/send/send-btc.spec.ts#L11
1) [chromium] › specs/send/send-btc.spec.ts:21:9 › send btc › btc send form › that it shows preview of tx details to be confirmed Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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:31:9 › send btc › btc send form › that recipient input is trimmed correctly: tests/specs/send/send-btc.spec.ts#L11
2) [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:43:9 › send btc › btc send form › that asset value and recipient on preview match input: tests/specs/send/send-btc.spec.ts#L11
3) [chromium] › specs/send/send-btc.spec.ts:43:9 › send btc › btc send form › that asset value and recipient on preview match input 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
4) [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
Shard 4 of 8
Process completed with exit code 1.
🎭 Playwright Run Summary
1 flaky [chromium] › specs/fund/fund.spec.ts:12:7 › Buy tokens test › should redirect to provider URL ── 3 skipped 3 passed (34.4s)
🎭 Playwright Run Summary
6 passed (45.2s)
🎭 Playwright Run Summary
1 skipped 5 passed (54.8s)
🎭 Playwright Run Summary
7 passed (55.6s)
🎭 Playwright Run Summary
1 flaky [chromium] › specs/send/send-stx.spec.ts:29:9 › send stx › tests on testnet › that send max button sets available balance minus fee 11 passed (1.3m)
🎭 Playwright Run Summary
7 passed (1.4m)
🎭 Playwright Run Summary
1 failed [chromium] › specs/send/send-btc.spec.ts:21:9 › send btc › btc send form › that it shows preview of tx details to be confirmed 3 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:43:9 › send btc › btc send form › that asset value and recipient on preview match input [chromium] › specs/send/send-btc.spec.ts:64:9 › send btc › btc send form › that fee value on preview match chosen one 2 passed (4.1m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
41.8 MB