@Desktop • UI e2e • Test App triggered by VicAlbr on ref support/fix-swap-ci #742
test-ui-e2e-only-desktop.yml
on: workflow_dispatch
Matrix: Desktop Tests E2E (Ubuntu)
Upload to Xray
0s
Notify to slack
0s
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#L432
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
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
|
[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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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-eqUzNf sc-fqkwJk dlSRuB eYYyHE">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-eqUzNf sc-fqkwJk dlSRuB iQWzXn">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
|
[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
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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-eqUzNf sc-fqkwJk dlSRuB eYYyHE">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-eqUzNf sc-fqkwJk dlSRuB iQWzXn">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
|
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 Tether USD:
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 Tether USD › Verify swap completion: Tether USD
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 Solana to Bitcoin:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L432
2) [speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Solana 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:225:9
|
[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
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
4 passed (4.8m)
|
🎭 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.2m)
|
🎭 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.5m)
|
linux Allure report URL
https://ledger-live.allure.green.ledgerlabs.net/allure/reports/158b0ac9-0fbb-43dd-983a-96f7775e5dee/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
allure-results-1
Expired
|
6.13 MB |
|
allure-results-2
Expired
|
7.48 MB |
|
allure-results-3
Expired
|
7.23 MB |
|