@Desktop • UI e2e • Test App triggered by VicAlbr on ref support/fix-swap-ci #744
Annotations
10 errors and 1 notice
Run playwright tests [Linux => xvfb-run]:
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
|
Run playwright tests [Linux => xvfb-run]:
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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
Run playwright tests [Linux => xvfb-run]:
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
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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
|
Run playwright tests [Linux => xvfb-run]:
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 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
|
Run playwright tests [Linux => xvfb-run]:
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 Tether USD › Verify swap completion: Tether USD
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
Run playwright tests [Linux => xvfb-run]:
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 Tether USD › Verify swap completion: Tether USD
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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
|
Run playwright tests [Linux => xvfb-run]:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L385
3) [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
|
Run playwright tests [Linux => xvfb-run]:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L385
3) [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*$/
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
|
Run playwright tests [Linux => xvfb-run]:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L385
3) [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*$/
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
|
Run playwright tests [Linux => xvfb-run]:
apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L432
4) [speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Ethereum to Tether USD › 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
|
Run playwright tests [Linux => xvfb-run]
3 failed
[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 Tether USD
[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 flaky
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Ethereum to Tether USD
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Solana
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Tether USD to Solana
[speculos_tests] › specs/speculos/swap.spec.ts:214:9 › Swap - Accepted (without tx broadcast) › Swap Solana to Ethereum
15 passed (23.0m)
|
Loading