@Desktop • UI e2e • Test App triggered by gbecerra-ledger on ref support/automation-add-spl-token #1301
test-ui-e2e-only-desktop.yml
on: workflow_dispatch
Matrix: Desktop Tests E2E (Ubuntu)
Upload to Xray
0s
Notify to slack
0s
Annotations
16 errors and 4 notices
Desktop Tests E2E (Ubuntu) (1, 3)
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)
|
tests/specs/swap.spec.ts:187:9 › Swap - Accepted (without tx broadcast) › Swap Tether USD to Solana:
e2e/desktop/tests/specs/swap.spec.ts#L997
1) tests/specs/swap.spec.ts:187:9 › Swap - Accepted (without tx broadcast) › Swap Tether USD to Solana › Get amount to receive
TimeoutError: locator.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for getByTestId('amountReceived')
995 | await app.swap.clickExchangeButton(electronApp, selectedProvider);
996 |
> 997 | const amountTo = await app.swapDrawer.getAmountToReceive();
| ^
998 | const fees = await app.swapDrawer.getFees();
999 |
1000 | swap.setAmountToReceive(amountTo);
at performSwapUntilDeviceVerificationStep (/home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:997:41)
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:204:9
|
Desktop Tests E2E (Ubuntu) (1, 3)
Process completed with exit code 1.
|
Desktop Tests E2E (Ubuntu) (2, 3)
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)
|
tests/specs/swap.spec.ts:187:9 › Swap - Accepted (without tx broadcast) › Swap GIGACHAD to Bitcoin:
e2e/desktop/tests/specs/swap.spec.ts#L202
1) tests/specs/swap.spec.ts:187:9 › Swap - Accepted (without tx broadcast) › Swap GIGACHAD to Bitcoin › Select available provider without KYC › Get provider list
Error: Timed out 41000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('number-of-quotes')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 41000ms
- waiting for getByTestId('number-of-quotes')
200 |
201 | await performSwapUntilQuoteSelectionStep(app, electronApp, swap, minAmount);
> 202 | const selectedProvider = await app.swap.selectExchangeWithoutKyc(electronApp);
| ^
203 |
204 | await performSwapUntilDeviceVerificationStep(
205 | app,
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:202:49
|
tests/specs/swap.spec.ts:187:9 › Swap - Accepted (without tx broadcast) › Swap GIGACHAD to Bitcoin:
e2e/desktop/tests/specs/swap.spec.ts#L202
1) tests/specs/swap.spec.ts:187:9 › Swap - Accepted (without tx broadcast) › Swap GIGACHAD to Bitcoin › Select available provider without KYC › Get provider list
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 41000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('number-of-quotes')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 41000ms
- waiting for getByTestId('number-of-quotes')
200 |
201 | await performSwapUntilQuoteSelectionStep(app, electronApp, swap, minAmount);
> 202 | const selectedProvider = await app.swap.selectExchangeWithoutKyc(electronApp);
| ^
203 |
204 | await performSwapUntilDeviceVerificationStep(
205 | app,
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:202:49
|
tests/specs/swap.spec.ts:187:9 › Swap - Accepted (without tx broadcast) › Swap GIGACHAD to Bitcoin:
e2e/desktop/tests/specs/swap.spec.ts#L202
1) tests/specs/swap.spec.ts:187:9 › Swap - Accepted (without tx broadcast) › Swap GIGACHAD to Bitcoin › Select available provider without KYC › Get provider list
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 41000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('number-of-quotes')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 41000ms
- waiting for getByTestId('number-of-quotes')
200 |
201 | await performSwapUntilQuoteSelectionStep(app, electronApp, swap, minAmount);
> 202 | const selectedProvider = await app.swap.selectExchangeWithoutKyc(electronApp);
| ^
203 |
204 | await performSwapUntilDeviceVerificationStep(
205 | app,
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:202:49
|
tests/specs/swap.spec.ts:373:7 › Swap - Default currency when landing on swap › Swap Ethereum to Bitcoin - Default currency:
e2e/desktop/tests/specs/swap.spec.ts#L382
2) tests/specs/swap.spec.ts:373: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"
380 |
381 | await app.swap.goAndWaitForSwapToBeReady(() => app.layout.goToSwap());
> 382 | await app.swap.checkAssetFrom(electronApp, "BTC");
| ^
383 | await app.swap.checkAssetTo(electronApp, "");
384 | },
385 | );
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:382:22
|
tests/specs/swap.spec.ts:373:7 › Swap - Default currency when landing on swap › Swap Ethereum to Bitcoin - Default currency:
e2e/desktop/tests/specs/swap.spec.ts#L382
2) tests/specs/swap.spec.ts:373: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"
380 |
381 | await app.swap.goAndWaitForSwapToBeReady(() => app.layout.goToSwap());
> 382 | await app.swap.checkAssetFrom(electronApp, "BTC");
| ^
383 | await app.swap.checkAssetTo(electronApp, "");
384 | },
385 | );
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:382:22
|
tests/specs/swap.spec.ts:373:7 › Swap - Default currency when landing on swap › Swap Ethereum to Bitcoin - Default currency:
e2e/desktop/tests/specs/swap.spec.ts#L382
2) tests/specs/swap.spec.ts:373: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"
380 |
381 | await app.swap.goAndWaitForSwapToBeReady(() => app.layout.goToSwap());
> 382 | await app.swap.checkAssetFrom(electronApp, "BTC");
| ^
383 | await app.swap.checkAssetTo(electronApp, "");
384 | },
385 | );
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:382:22
|
tests/specs/swap.spec.ts:187:9 › Swap - Accepted (without tx broadcast) › Swap Aptos to Solana:
e2e/desktop/tests/specs/swap.spec.ts#L997
3) tests/specs/swap.spec.ts:187:9 › Swap - Accepted (without tx broadcast) › Swap Aptos to Solana › Get amount to receive
TimeoutError: locator.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for getByTestId('amountReceived')
995 | await app.swap.clickExchangeButton(electronApp, selectedProvider);
996 |
> 997 | const amountTo = await app.swapDrawer.getAmountToReceive();
| ^
998 | const fees = await app.swapDrawer.getFees();
999 |
1000 | swap.setAmountToReceive(amountTo);
at performSwapUntilDeviceVerificationStep (/home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:997:41)
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:204:9
|
tests/specs/swap.spec.ts:557:9 › Swap - Using different seed › Swap using a different seed - Ethereum to Solana:
e2e/desktop/tests/specs/swap.spec.ts#L575
4) tests/specs/swap.spec.ts:557:9 › Swap - Using different seed › Swap using a different seed - Ethereum to Solana › Check error message: This receiving account does not belong to the device you have connected. Please change and retry
TimeoutError: locator.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for getByTestId('error-description-deviceAction')
573 | await app.swap.clickExchangeButton(electronApp, selectedProvider);
574 |
> 575 | await app.swapDrawer.checkErrorMessage(errorMessage);
| ^
576 | },
577 | );
578 | });
at /home/runner/_work/ledger-live/ledger-live/e2e/desktop/tests/specs/swap.spec.ts:575:30
|
tests/specs/swap.spec.ts:557:9 › Swap - Using different seed › Swap using a different seed - Bitcoin to Ethereum:
e2e/desktop/tests/specs/swap.spec.ts#L1
5) tests/specs/swap.spec.ts:557:9 › Swap - Using different seed › Swap using a different seed - Bitcoin to Ethereum
Test timeout of 400000ms exceeded.
|
Desktop Tests E2E (Ubuntu) (3, 3)
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)
|
tests/specs/swap.spec.ts:614:9 › Swap a coin for which you have no account yet › from Account not present to Account present:
e2e/desktop/tests/specs/swap.spec.ts#L1
1) tests/specs/swap.spec.ts:614:9 › Swap a coin for which you have no account yet › from Account not present to Account present
Test timeout of 400000ms exceeded.
|
Desktop Tests E2E (Ubuntu) (3, 3)
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 flaky
tests/specs/swap.spec.ts:187:9 › Swap - Accepted (without tx broadcast) › Swap Tether USD to Solana
15 passed (6.6m)
|
🎭 Playwright Run Summary
2 failed
tests/specs/swap.spec.ts:187:9 › Swap - Accepted (without tx broadcast) › Swap GIGACHAD to Bitcoin
tests/specs/swap.spec.ts:373:7 › Swap - Default currency when landing on swap › Swap Ethereum to Bitcoin - Default currency
3 flaky
tests/specs/swap.spec.ts:187:9 › Swap - Accepted (without tx broadcast) › Swap Aptos to Solana ─
tests/specs/swap.spec.ts:557:9 › Swap - Using different seed › Swap using a different seed - Ethereum to Solana
tests/specs/swap.spec.ts:557:9 › Swap - Using different seed › Swap using a different seed - Bitcoin to Ethereum
11 passed (9.2m)
|
🎭 Playwright Run Summary
1 flaky
tests/specs/swap.spec.ts:614:9 › Swap a coin for which you have no account yet › from Account not present to Account present
14 passed (9.6m)
|
linux-speculos Allure report URL
https://ledger-live.allure.green.ledgerlabs.net/allure/reports/94cb7224-a202-45a6-8901-fe7879e0cfcd/
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
allure-results-1
|
2.68 MB |
sha256:0b3d13e5b7e11b3c73c55337949b982619087127cba3fa470bd67d950f0e0222
|
|
allure-results-2
|
19.6 MB |
sha256:e1629ce7622c6aeadbd0f1c7a798e3c9657a3d9c616f789266a87a1813281a43
|
|
allure-results-3
|
641 KB |
sha256:8c00f5e889b881d4f379e012b454e6e3a556ce1c5bd35653282237e0c24c185e
|
|