Skip to content

@Desktop • UI e2e • Test App triggered by bharamboure-ledger on ref support/swap-common-currencies #524

@Desktop • UI e2e • Test App triggered by bharamboure-ledger on ref support/swap-common-currencies

@Desktop • UI e2e • Test App triggered by bharamboure-ledger on ref support/swap-common-currencies #524

Manually triggered October 1, 2024 14:09
Status Failure
Total duration 14m 59s
Artifacts 3

test-ui-e2e-only-desktop.yml

on: workflow_dispatch
Matrix: Desktop Tests E2E (Ubuntu)
Report and Notify
37s
Report and Notify
Upload to Xray
0s
Upload to Xray
Fit to window
Zoom out
Zoom in

Annotations

17 errors, 2 warnings, and 4 notices
[speculos_tests] › specs/speculos/receive.address.spec.ts:27:9 › Receive › [Bitcoin] Receive: apps/ledger-live-desktop/tests/specs/speculos/receive.address.spec.ts#L57
1) [speculos_tests] › specs/speculos/receive.address.spec.ts:27:9 › Receive › [Bitcoin] Receive ── Error: Timed out 41000ms waiting for expect(locator).toBeVisible() Locator: locator('text=Verify that the shared address exactly matches the one on your device') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 41000ms - waiting for locator('text=Verify that the shared address exactly matches the one on your device') 55 | } 56 | await app.modal.continue(); > 57 | await app.receive.expectValidReceiveAddress(account.account.address); | ^ 58 | 59 | await app.speculos.expectValidReceiveAddress(account.account); 60 | await app.receive.expectApproveLabel(); at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/receive.address.spec.ts:57:27
[speculos_tests] › specs/speculos/receive.address.spec.ts:27:9 › Receive › [Bitcoin] Receive: apps/ledger-live-desktop/tests/specs/speculos/receive.address.spec.ts#L1
1) [speculos_tests] › specs/speculos/receive.address.spec.ts:27:9 › Receive › [Bitcoin] Receive ── Error: connect ECONNREFUSED 127.0.0.1:30201 at Function.AxiosError.from (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/AxiosError.js:92:14) at RedirectableRequest.handleRequestError (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:620:25) at ClientRequest.eventHandlers.<computed> (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/follow-redirects/index.js:38:24) at Axios.request (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41)
[speculos_tests] › specs/speculos/receive.address.spec.ts:27:9 › Receive › [Bitcoin] Receive: apps/ledger-live-desktop/tests/specs/speculos/receive.address.spec.ts#L57
1) [speculos_tests] › specs/speculos/receive.address.spec.ts:27:9 › Receive › [Bitcoin] Receive ── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 41000ms waiting for expect(locator).toBeVisible() Locator: locator('text=Verify that the shared address exactly matches the one on your device') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 41000ms - waiting for locator('text=Verify that the shared address exactly matches the one on your device') 55 | } 56 | await app.modal.continue(); > 57 | await app.receive.expectValidReceiveAddress(account.account.address); | ^ 58 | 59 | await app.speculos.expectValidReceiveAddress(account.account); 60 | await app.receive.expectApproveLabel(); at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/receive.address.spec.ts:57:27
[speculos_tests] › specs/speculos/receive.address.spec.ts:27:9 › Receive › [Bitcoin] Receive: apps/ledger-live-desktop/tests/specs/speculos/receive.address.spec.ts#L57
1) [speculos_tests] › specs/speculos/receive.address.spec.ts:27:9 › Receive › [Bitcoin] Receive ── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 41000ms waiting for expect(locator).toBeVisible() Locator: locator('text=Verify that the shared address exactly matches the one on your device') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 41000ms - waiting for locator('text=Verify that the shared address exactly matches the one on your device') 55 | } 56 | await app.modal.continue(); > 57 | await app.receive.expectValidReceiveAddress(account.account.address); | ^ 58 | 59 | await app.speculos.expectValidReceiveAddress(account.account); 60 | await app.receive.expectApproveLabel(); at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/receive.address.spec.ts:57:27
[speculos_tests] › specs/speculos/send.tx.spec.ts:61:9 › Send from 1 account to another › Send from Ethereum Sepolia 1 to Ethereum Sepolia 2: apps/ledger-live-desktop/tests/specs/speculos/send.tx.spec.ts#L83
2) [speculos_tests] › specs/speculos/send.tx.spec.ts:61:9 › Send from 1 account to another › Send from Ethereum Sepolia 1 to Ethereum Sepolia 2 › Verify tx sent text Error: Timed out 41000ms waiting for expect(locator).toBeVisible() Locator: locator('text=Transaction sent') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 41000ms - waiting for locator('text=Transaction sent') 81 | 82 | await app.speculos.expectValidTxInfo(transaction.transaction); > 83 | await app.send.expectTxSent(); | ^ 84 | await app.account.navigateToViewDetails(); 85 | await app.drawer.addressValueIsVisible(transaction.transaction.accountToCredit.address); 86 | await app.drawer.close(); at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/send.tx.spec.ts:83:24
Desktop Tests E2E (Ubuntu) (2, 3)
Process completed with exit code 1.
[speculos_tests] › specs/speculos/add.account.spec.ts:34:9 › Add Accounts › [XRP] Add account: apps/ledger-live-desktop/tests/specs/speculos/add.account.spec.ts#L48
1) [speculos_tests] › specs/speculos/add.account.spec.ts:34:9 › Add Accounts › [XRP] Add account › Get fist account name TimeoutError: locator.inputValue: Timeout 99000ms exceeded. Call log: - waiting for getByTestId('add-accounts-step-import-accounts-list').locator('input').first() 46 | await app.addAccount.expectModalVisiblity(); 47 | await app.addAccount.selectCurrency(currency.currency); > 48 | firstAccountName = await app.addAccount.getFirstAccountName(); | ^ 49 | 50 | await app.addAccount.addAccounts(); 51 | await app.addAccount.done(); at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/add.account.spec.ts:48:49
[speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Ethereum to Bitcoin: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L71
1) [speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Ethereum to Bitcoin ───────── TimeoutError: locator.textContent: Timeout 99000ms exceeded. Call log: - waiting for getByTestId('amountReceived') 69 | await app.swap.selectExchangeQuote(swap.provider.name, rate); 70 | await app.swap.clickExchangeButton(electronApp, swap.provider.uiName); > 71 | const amountTo = await app.swapDrawer.getAmountToReceive(); | ^ 72 | const fees = await app.swapDrawer.getFees(); 73 | swap.setAmountToReceive(amountTo); 74 | swap.setFeesAmount(fees); at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:71:45
[speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Ethereum to Bitcoin: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L1
1) [speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Ethereum to Bitcoin ───────── Error: connect ECONNREFUSED 127.0.0.1:30201 at Function.AxiosError.from (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/AxiosError.js:92:14) at RedirectableRequest.handleRequestError (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:620:25) at ClientRequest.eventHandlers.<computed> (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/follow-redirects/index.js:38:24) at Axios.request (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41)
[speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Ethereum to Bitcoin: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L71
1) [speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Ethereum to Bitcoin ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.textContent: Timeout 99000ms exceeded. Call log: - waiting for getByTestId('amountReceived') 69 | await app.swap.selectExchangeQuote(swap.provider.name, rate); 70 | await app.swap.clickExchangeButton(electronApp, swap.provider.uiName); > 71 | const amountTo = await app.swapDrawer.getAmountToReceive(); | ^ 72 | const fees = await app.swapDrawer.getFees(); 73 | swap.setAmountToReceive(amountTo); 74 | swap.setFeesAmount(fees); at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:71:45
[speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Ethereum to Bitcoin: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L1
1) [speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Ethereum to Bitcoin ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: connect ECONNREFUSED 127.0.0.1:30301 at Function.AxiosError.from (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/AxiosError.js:92:14) at RedirectableRequest.handleRequestError (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:620:25) at ClientRequest.eventHandlers.<computed> (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/follow-redirects/index.js:38:24) at Axios.request (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41)
[speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Ethereum to Bitcoin: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L71
1) [speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Ethereum to Bitcoin ───────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.textContent: Timeout 99000ms exceeded. Call log: - waiting for getByTestId('amountReceived') 69 | await app.swap.selectExchangeQuote(swap.provider.name, rate); 70 | await app.swap.clickExchangeButton(electronApp, swap.provider.uiName); > 71 | const amountTo = await app.swapDrawer.getAmountToReceive(); | ^ 72 | const fees = await app.swapDrawer.getFees(); 73 | swap.setAmountToReceive(amountTo); 74 | swap.setFeesAmount(fees); at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:71:45
[speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Bitcoin to Ethereum: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L70
2) [speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Bitcoin to Ethereum ───────── TimeoutError: locator.click: Timeout 30000ms exceeded. Call log: - waiting for getByText('Swap with Changelly') - locator resolved to <div class="sc-pNWRh bLDXYe">Swap with Changelly</div> - attempting click action - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #11 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #12 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #13 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #14 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #15 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #16 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #17 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #18 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #19 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #20 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #21 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #22 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #23 - waiting 500ms - wait
[speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Bitcoin to Ethereum: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L70
2) [speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Bitcoin to Ethereum ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 30000ms exceeded. Call log: - waiting for getByText('Swap with Changelly') - locator resolved to <div class="sc-pNWRh bLDXYe">Swap with Changelly</div> - attempting click action - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #11 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #12 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #13 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #14 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #15 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #16 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #17 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #18 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #19 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #20 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #21 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #22 - waiting 500ms - waiting for element to be visible, enabled and stable - el
[speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Bitcoin to Ethereum: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L78
2) [speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Bitcoin to Ethereum ───────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 41000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('targetAccount') Expected string: "Ethereum" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 41000ms - waiting for getByTestId('targetAccount') 76 | await app.swapDrawer.verifyAmountSent(swap.amount, swap.accountToDebit.currency.ticker); 77 | await app.swapDrawer.verifySourceAccount(swap.accountToDebit.currency.name); > 78 | await app.swapDrawer.verifyTargetCurrency(swap.accountToCredit.currency.name); | ^ 79 | await app.swapDrawer.verifyProvider(swap.provider.name); 80 | await app.speculos.verifyAmountsAndRejectSwap(swap); 81 | await app.swapDrawer.verifyExchangeErrorTextContent("Operation denied on device"); at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts:78:28
[speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Bitcoin to Ethereum: apps/ledger-live-desktop/tests/specs/speculos/swap.spec.ts#L1
2) [speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Bitcoin to Ethereum ───────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: connect ECONNREFUSED 127.0.0.1:30701 at Function.AxiosError.from (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/AxiosError.js:92:14) at RedirectableRequest.handleRequestError (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:620:25) at ClientRequest.eventHandlers.<computed> (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/follow-redirects/index.js:38:24) at Axios.request (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41)
Desktop Tests E2E (Ubuntu) (3, 3)
Process completed with exit code 1.
Slow Test: apps/ledger-live-desktop/[speculos_tests] › specs/speculos/delete.account.spec.ts#L1
apps/ledger-live-desktop/[speculos_tests] › specs/speculos/delete.account.spec.ts took 3.5m
Slow Test: apps/ledger-live-desktop/[speculos_tests] › specs/speculos/subAccount.spec.ts#L1
apps/ledger-live-desktop/[speculos_tests] › specs/speculos/subAccount.spec.ts took 6.8m
🎭 Playwright Run Summary
1 failed [speculos_tests] › specs/speculos/receive.address.spec.ts:27:9 › Receive › [Bitcoin] Receive ─── 1 flaky [speculos_tests] › specs/speculos/send.tx.spec.ts:61:9 › Send from 1 account to another › Send from Ethereum Sepolia 1 to Ethereum Sepolia 2 25 passed (7.4m)
🎭 Playwright Run Summary
1 flaky [speculos_tests] › specs/speculos/add.account.spec.ts:34:9 › Add Accounts › [XRP] Add account ── 25 passed (9.2m)
🎭 Playwright Run Summary
2 failed [speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Ethereum to Bitcoin ────────── [speculos_tests] › specs/speculos/swap.spec.ts:60:9 › Swap › Swap Bitcoin to Ethereum ────────── 21 passed (10.3m)
Allure report URL
https://ledger-live.allure.green.ledgerlabs.net/allure/reports/65d87a2b-0100-4f69-be05-80f5010ee147/

Artifacts

Produced during runtime
Name Size
allure-results-1 Expired
399 KB
allure-results-2 Expired
5.48 MB
allure-results-3 Expired
6.38 MB