@Desktop • UI e2e • Test App triggered by VicAlbr on ref support/qaa-595 #1299
Annotations
10 errors and 1 notice
Run playwright tests [Linux => xvfb-run]
Error: test.step() can only be called from a test
at ../misc/reporters/step.ts:28
26 | : `${this.constructor.name}.${context.name as string}`;
27 |
> 28 | return test.step(name, async () => target.call(this, ...args), { box: true });
| ^
29 | }
30 |
31 | return replacementMethod;
at OnboardingPage.waitForLaunch (/home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/misc/reporters/step.ts:28:19)
at globalTeardown (/home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/utils/global.teardown.ts:26:36)
|
Run playwright tests [Linux => xvfb-run]:
e2e/desktop/tests/specs/swap.spec.ts#L992
1) tests/specs/swap.spec.ts:182:9 › Swap - Accepted (without tx broadcast) › Swap XRP to Bitcoin ─
TimeoutError: locator.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for getByTestId('amountReceived')
990 | await app.swap.clickExchangeButton(electronApp, selectedProvider);
991 |
> 992 | const amountTo = await app.swapDrawer.getAmountToReceive();
| ^
993 | const fees = await app.swapDrawer.getFees();
994 |
995 | swap.setAmountToReceive(amountTo);
at performSwapUntilDeviceVerificationStep (/home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:992:41)
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:199:9
|
Run playwright tests [Linux => xvfb-run]:
e2e/desktop/tests/specs/swap.spec.ts#L992
1) tests/specs/swap.spec.ts:182:9 › Swap - Accepted (without tx broadcast) › Swap XRP to Bitcoin ─
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for getByTestId('amountReceived')
990 | await app.swap.clickExchangeButton(electronApp, selectedProvider);
991 |
> 992 | const amountTo = await app.swapDrawer.getAmountToReceive();
| ^
993 | const fees = await app.swapDrawer.getFees();
994 |
995 | swap.setAmountToReceive(amountTo);
at performSwapUntilDeviceVerificationStep (/home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:992:41)
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:199:9
|
Run playwright tests [Linux => xvfb-run]:
e2e/desktop/tests/specs/swap.spec.ts#L207
1) tests/specs/swap.spec.ts:182:9 › Swap - Accepted (without tx broadcast) › Swap XRP to Bitcoin ─
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 120000ms 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 120000ms
- waiting for getByTestId('swap-completed-message')
205 | );
206 | await app.speculos.verifyAmountsAndAcceptSwap(swap, minAmount);
> 207 | await app.swapDrawer.verifyExchangeCompletedTextContent(swap.accountToCredit.currency.name);
| ^
208 | },
209 | );
210 | });
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:207:30
|
Run playwright tests [Linux => xvfb-run]:
e2e/desktop/tests/specs/swap.spec.ts#L377
2) tests/specs/swap.spec.ts:368:7 › Swap - Default currency when landing on swap › Swap Ethereum to Bitcoin - Default currency › Check currency to swap from is BTC
Error: expect(received).toContain(expected) // indexOf
Expected substring: "BTC"
Received string: "Choose asset"
375 |
376 | await app.swap.goAndWaitForSwapToBeReady(() => app.layout.goToSwap());
> 377 | await app.swap.checkAssetFrom(electronApp, "BTC");
| ^
378 | await app.swap.checkAssetTo(electronApp, "");
379 | },
380 | );
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:377:22
|
Run playwright tests [Linux => xvfb-run]:
e2e/desktop/tests/specs/swap.spec.ts#L377
2) tests/specs/swap.spec.ts:368:7 › Swap - Default currency when landing on swap › Swap Ethereum to Bitcoin - Default currency › Check currency to swap from is BTC
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "BTC"
Received string: "Choose asset"
375 |
376 | await app.swap.goAndWaitForSwapToBeReady(() => app.layout.goToSwap());
> 377 | await app.swap.checkAssetFrom(electronApp, "BTC");
| ^
378 | await app.swap.checkAssetTo(electronApp, "");
379 | },
380 | );
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:377:22
|
Run playwright tests [Linux => xvfb-run]:
e2e/desktop/tests/specs/swap.spec.ts#L377
2) tests/specs/swap.spec.ts:368:7 › Swap - Default currency when landing on swap › Swap Ethereum to Bitcoin - Default currency › Check currency to swap from is BTC
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "BTC"
Received string: "Choose asset"
375 |
376 | await app.swap.goAndWaitForSwapToBeReady(() => app.layout.goToSwap());
> 377 | await app.swap.checkAssetFrom(electronApp, "BTC");
| ^
378 | await app.swap.checkAssetTo(electronApp, "");
379 | },
380 | );
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:377:22
|
Run playwright tests [Linux => xvfb-run]:
e2e/desktop/tests/specs/swap.spec.ts#L1
3) tests/specs/swap.spec.ts:552:9 › Swap - Using different seed › Swap using a different seed - Ethereum to Bitcoin
Test timeout of 400000ms exceeded.
|
Run playwright tests [Linux => xvfb-run]:
e2e/desktop/tests/specs/swap.spec.ts#L570
3) tests/specs/swap.spec.ts:552:9 › Swap - Using different seed › Swap using a different seed - Ethereum to Bitcoin
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for getByTestId('error-description-deviceAction')
568 | await app.swap.clickExchangeButton(electronApp, selectedProvider);
569 |
> 570 | await app.swapDrawer.checkErrorMessage(errorMessage);
| ^
571 | },
572 | );
573 | });
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:570:30
|
Run playwright tests [Linux => xvfb-run]:
e2e/desktop/tests/specs/swap.spec.ts#L570
3) tests/specs/swap.spec.ts:552:9 › Swap - Using different seed › Swap using a different seed - Ethereum to Bitcoin
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for getByTestId('error-description-deviceAction')
568 | await app.swap.clickExchangeButton(electronApp, selectedProvider);
569 |
> 570 | await app.swapDrawer.checkErrorMessage(errorMessage);
| ^
571 | },
572 | );
573 | });
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:570:30
|
Run playwright tests [Linux => xvfb-run]
3 failed
tests/specs/swap.spec.ts:182:9 › Swap - Accepted (without tx broadcast) › Swap XRP to Bitcoin ──
tests/specs/swap.spec.ts:368:7 › Swap - Default currency when landing on swap › Swap Ethereum to Bitcoin - Default currency
tests/specs/swap.spec.ts:552:9 › Swap - Using different seed › Swap using a different seed - Ethereum to Bitcoin
8 flaky
tests/specs/swap.spec.ts:182:9 › Swap - Accepted (without tx broadcast) › Swap Ethereum to Solana
tests/specs/swap.spec.ts:182:9 › Swap - Accepted (without tx broadcast) › Swap Bitcoin to Tether USD
tests/specs/swap.spec.ts:182:9 › Swap - Accepted (without tx broadcast) › Swap Tether USD to Bitcoin
tests/specs/swap.spec.ts:182:9 › Swap - Accepted (without tx broadcast) › Swap USD Coin to Solana
tests/specs/swap.spec.ts:182:9 › Swap - Accepted (without tx broadcast) › Swap Aptos to Solana ─
tests/specs/swap.spec.ts:434:7 › Swap - Rejected on device › Swap Ethereum to Bitcoin ──────────
tests/specs/swap.spec.ts:552:9 › Swap - Using different seed › Swap using a different seed - Ethereum to Solana
tests/specs/swap.spec.ts:609:9 › Swap a coin for which you have no account yet › from Account not present to Account present
51 passed (25.9m)
|
Loading