@Desktop • UI e2e • Test App triggered by VicAlbr on ref support/fix-swap-ci #740
test-ui-e2e-only-desktop.yml
on: workflow_dispatch
Matrix: Desktop Tests E2E (Ubuntu)
Upload to Xray
0s
Notify to slack
0s
Annotations
6 errors and 4 notices
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Tether USD:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L429
1) [speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Tether USD › Wait for network calls to be completed
TimeoutError: page.waitForLoadState: Timeout 120000ms exceeded.
427 |
428 | await app.layout.waitForAccountsSyncToBeDone();
> 429 | await app.swap.waitForPageNetworkIdleState();
| ^
430 | await app.layout.goToSwap();
431 | await app.swap.waitForPageNetworkIdleState();
432 | await app.swap.selectAssetFrom(electronApp, swap.accountToDebit);
at performSwapUntilQuoteSelectionStep (/home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:429:18)
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:225:9
|
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Solana to Bitcoin:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L226
2) [speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Solana to Bitcoin › Select exchange quote with provider changelly
Error: Timed out 41000ms waiting for expect(locator).toBeEnabled()
Locator: getByTestId('quote-container-changelly-float')
Expected: enabled
Received: <element(s) not found>
Call log:
- expect.toBeEnabled with timeout 41000ms
- waiting for getByTestId('quote-container-changelly-float')
224 |
225 | await performSwapUntilQuoteSelectionStep(app, electronApp, swap);
> 226 | await app.swap.selectQuote(electronApp, swap.provider.name, swap.rate);
| ^
227 | await performSwapUntilDeviceVerificationStep(app, electronApp, swap);
228 | await app.speculos.verifyAmountsAndAcceptSwap(swap);
229 | await app.swapDrawer.verifyExchangeCompletedTextContent(swap.accountToCredit.currency.name);
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:226:24
|
[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
|
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Solana:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L229
2) [speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Solana › Verify swap completion: Solana
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
|
[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#L446
1) [speculos_tests] › specs/speculos/swap.spec.ts:278:9 › Swap - Rejected on device › Swap Ethereum to Bitcoin › Get amount to receive
TimeoutError: locator.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for getByTestId('amountReceived')
444 | await app.swap.clickExchangeButton(electronApp, swap.provider.uiName);
445 |
> 446 | const amountTo = await app.swapDrawer.getAmountToReceive();
| ^
447 | const fees = await app.swapDrawer.getFees();
448 |
449 | swap.setAmountToReceive(amountTo);
at performSwapUntilDeviceVerificationStep (/home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:446:41)
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:291:9
|
[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
2) [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,10})? TRX needed for quotes\.\s*$/
Error: locator.textContent: Error: strict mode violation: locator('span[color*="error"]') resolved to 2 elements:
1) <span color="error.c60" variant="paragraph" font-weight="medium" font-size="paragraph" class="sc-jlZhRR sc-cwHqhk fTRjha eFlguM">Keep 1 TRX minimum balance after the swap. </span> aka getByText('Keep 1 TRX minimum balance')
2) <span color="error.c60" variant="paragraph" font-size="paragraph" font-weight="semiBold" class="sc-jlZhRR sc-cwHqhk fTRjha ixjhKv">Learn More</span> aka locator('[data-test-id="share-your-feedback-link"]')
Call log:
- waiting for locator('span[color*="error"]')
383 | `Minimum \\d+(\\.\\d{1,10})? ${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
|
🎭 Playwright Run Summary
2 flaky
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Tether USD
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Solana to Bitcoin
4 passed (5.0m)
|
🎭 Playwright Run Summary
2 flaky
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Ethereum
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Solana
4 passed (5.9m)
|
🎭 Playwright Run Summary
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 Tron to Ethereum
3 passed (6.0m)
|
linux Allure report URL
https://ledger-live.allure.green.ledgerlabs.net/allure/reports/f5e4d9fb-2fd0-42af-a6bc-96083ede9276/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
allure-results-1
Expired
|
12 MB |
|
allure-results-2
Expired
|
6.73 MB |
|
allure-results-3
Expired
|
11.6 MB |
|