Skip to content

@Desktop • UI e2e • Test App triggered by VicAlbr on ref support/fix-swap-ci #737

@Desktop • UI e2e • Test App triggered by VicAlbr on ref support/fix-swap-ci

@Desktop • UI e2e • Test App triggered by VicAlbr on ref support/fix-swap-ci #737

Manually triggered December 12, 2024 16:24
Status Failure
Total duration 9m 45s
Artifacts 3

test-ui-e2e-only-desktop.yml

on: workflow_dispatch
Matrix: Desktop Tests E2E (Ubuntu)
Create Allure Report and upload it
24s
Create Allure Report and upload it
Upload to Xray
0s
Upload to Xray
Notify to slack
0s
Notify to slack
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 notices
[speculos_tests] › specs/speculos/swap.spec.ts:368:9 › Swap - with too low amount (throwing UI errors) › Swap too low quote amounts from Tron to Ethereum: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L385
1) [speculos_tests] › specs/speculos/swap.spec.ts:368:9 › Swap - with too low amount (throwing UI errors) › Swap too low quote amounts from Tron to Ethereum › Verify swap amount error message is displayed: /Minimum \d+(\.\d{1,5})? TRX needed for quotes\.\s*$/ Error: expect(received).toMatch(expected) Expected pattern: /Minimum \d+(\.\d{1,5})? TRX needed for quotes\.\s*$/ Received string: "Not enough balance, including network fee. " 383 | `Minimum \\d+(\\.\\d{1,5})? ${swap.accountToDebit.currency.ticker} needed for quotes\\.\\s*$`, 384 | ); > 385 | await app.swap.verifySwapAmountErrorMessageIsDisplayed( | ^ 386 | electronApp, 387 | swap.accountToDebit, 388 | errorMessage, at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:385:24
[speculos_tests] › specs/speculos/swap.spec.ts:368:9 › Swap - with too low amount (throwing UI errors) › Swap too low quote amounts from Tron to Ethereum: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L385
1) [speculos_tests] › specs/speculos/swap.spec.ts:368:9 › Swap - with too low amount (throwing UI errors) › Swap too low quote amounts from Tron to Ethereum › Verify swap amount error message is displayed: /Minimum \d+(\.\d{1,5})? TRX needed for quotes\.\s*$/ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatch(expected) Expected pattern: /Minimum \d+(\.\d{1,5})? TRX needed for quotes\.\s*$/ Received string: "Not enough balance, including network fee. " 383 | `Minimum \\d+(\\.\\d{1,5})? ${swap.accountToDebit.currency.ticker} needed for quotes\\.\\s*$`, 384 | ); > 385 | await app.swap.verifySwapAmountErrorMessageIsDisplayed( | ^ 386 | electronApp, 387 | swap.accountToDebit, 388 | errorMessage, at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:385:24
[speculos_tests] › specs/speculos/swap.spec.ts:368:9 › Swap - with too low amount (throwing UI errors) › Swap too low quote amounts from Tron to Ethereum: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L385
1) [speculos_tests] › specs/speculos/swap.spec.ts:368:9 › Swap - with too low amount (throwing UI errors) › Swap too low quote amounts from Tron to Ethereum › Verify swap amount error message is displayed: /Minimum \d+(\.\d{1,5})? TRX needed for quotes\.\s*$/ Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatch(expected) Expected pattern: /Minimum \d+(\.\d{1,5})? TRX needed for quotes\.\s*$/ Received string: "Not enough balance, including network fee. " 383 | `Minimum \\d+(\\.\\d{1,5})? ${swap.accountToDebit.currency.ticker} needed for quotes\\.\\s*$`, 384 | ); > 385 | await app.swap.verifySwapAmountErrorMessageIsDisplayed( | ^ 386 | electronApp, 387 | swap.accountToDebit, 388 | errorMessage, at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:385:24
[speculos_tests] › specs/speculos/swap.spec.ts:278:9 › Swap - Rejected on device › Swap Ethereum to Bitcoin: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L432
2) [speculos_tests] › specs/speculos/swap.spec.ts:278:9 › Swap - Rejected on device › Swap Ethereum to Bitcoin › Select currency to swap from TypeError: Cannot read properties of undefined (reading 'getByTestId') 430 | await app.layout.goToSwap(); 431 | await app.swap.waitForPageNetworkIdleState(); > 432 | await app.swap.selectAssetFrom(electronApp, swap.accountToDebit); | ^ 433 | await app.swapDrawer.selectAccountByName(swap.accountToDebit); 434 | await app.swap.selectAssetTo(electronApp, swap.accountToCredit.currency.name); 435 | await app.swapDrawer.selectAccountByName(swap.accountToCredit); at performSwapUntilQuoteSelectionStep (/home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:432:18) at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:289:9
[speculos_tests] › specs/speculos/swap.spec.ts:368:9 › Swap - with too low amount (throwing UI errors) › Swap too low quote amounts from Ethereum to Bitcoin: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L432
3) [speculos_tests] › specs/speculos/swap.spec.ts:368:9 › Swap - with too low amount (throwing UI errors) › Swap too low quote amounts from Ethereum to Bitcoin › Select currency to swap from TypeError: Cannot read properties of undefined (reading 'getByTestId') 430 | await app.layout.goToSwap(); 431 | await app.swap.waitForPageNetworkIdleState(); > 432 | await app.swap.selectAssetFrom(electronApp, swap.accountToDebit); | ^ 433 | await app.swapDrawer.selectAccountByName(swap.accountToDebit); 434 | await app.swap.selectAssetTo(electronApp, swap.accountToCredit.currency.name); 435 | await app.swapDrawer.selectAccountByName(swap.accountToCredit); at performSwapUntilQuoteSelectionStep (/home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:432:18) at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:379:9
Desktop Tests E2E (Ubuntu) (3, 3)
Process completed with exit code 1.
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Ethereum: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L229
1) [speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Ethereum › Verify swap completion: Ethereum Error: Timed out 41000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('swap-completed-message') Expected string: "Transaction broadcast successfully" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 41000ms - waiting for getByTestId('swap-completed-message') 227 | await performSwapUntilDeviceVerificationStep(app, electronApp, swap); 228 | await app.speculos.verifyAmountsAndAcceptSwap(swap); > 229 | await app.swapDrawer.verifyExchangeCompletedTextContent(swap.accountToCredit.currency.name); | ^ 230 | }, 231 | ); 232 | }); at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:229:30
🎭 Playwright Run Summary
6 passed (3.7m)
🎭 Playwright Run Summary
1 failed [speculos_tests] › specs/speculos/swap.spec.ts:368:9 › Swap - with too low amount (throwing UI errors) › Swap too low quote amounts from Tron to Ethereum 2 flaky [speculos_tests] › specs/speculos/swap.spec.ts:278:9 › Swap - Rejected on device › Swap Ethereum to Bitcoin [speculos_tests] › specs/speculos/swap.spec.ts:368:9 › Swap - with too low amount (throwing UI errors) › Swap too low quote amounts from Ethereum to Bitcoin 2 passed (4.7m)
🎭 Playwright Run Summary
1 flaky [speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Ethereum 5 passed (5.4m)
linux Allure report URL
https://ledger-live.allure.green.ledgerlabs.net/allure/reports/976a584e-f8db-4ea1-b9e8-6feacdb3401d/

Artifacts

Produced during runtime
Name Size
allure-results-1 Expired
3.86 MB
allure-results-2 Expired
25.9 KB
allure-results-3 Expired
15.8 MB