Skip to content

@Desktop • Test App triggered by lambertkevin on ref feature/CAL-service-migration #32683

@Desktop • Test App triggered by lambertkevin on ref feature/CAL-service-migration

@Desktop • Test App triggered by lambertkevin on ref feature/CAL-service-migration #32683

Manually triggered September 10, 2024 10:37
Status Failure
Total duration 8m 45s
Artifacts 5

test-desktop.yml

on: workflow_dispatch
Desktop Tests E2E (Ubuntu)
7m 44s
Desktop Tests E2E (Ubuntu)
Desktop Code Checks
6m 12s
Desktop Code Checks
Desktop Unit Tests
5m 45s
Desktop Unit Tests
Allure Reports Export on Server
0s
Allure Reports Export on Server
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 4 warnings, and 1 notice
[mocked_tests] › specs/onboarding/connect-device.spec.ts:15:9 › Onboarding › [nanoSP] Onboarding flow already set up: apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts#L29
1) [mocked_tests] › specs/onboarding/connect-device.spec.ts:15:9 › Onboarding › [nanoSP] Onboarding flow already set up Error: Screenshot comparison failed: 7726 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts-snapshots/v3-device-selection-linux.png Received: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/onboarding-connect-device--512eb-oarding-flow-already-set-up-mocked-tests/v3-device-selection-actual.png Diff: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/onboarding-connect-device--512eb-oarding-flow-already-set-up-mocked-tests/v3-device-selection-diff.png Call log: - expect.toHaveScreenshot(v3-device-selection.png) with timeout 41000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 7726 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - captured a stable screenshot - 7726 pixels (ratio 0.01 of all image pixels) are different. 27 | await onboardingPage.hoverDevice(Nano.nanoS); 28 | await new Promise(r => setTimeout(r, 300)); // wait for the animation to finish > 29 | await expect(page).toHaveScreenshot("v3-device-selection.png"); | ^ 30 | }); 31 | 32 | await test.step(`[${nano}] Select Device`, async () => { at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts:29:28 at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts:25:7
[mocked_tests] › specs/onboarding/connect-device.spec.ts:15:9 › Onboarding › [nanoSP] Onboarding flow already set up: apps/ledger-live-desktop/tests/specs/onboarding/connect-device.spec.ts#L1
1) [mocked_tests] › specs/onboarding/connect-device.spec.ts:15:9 › Onboarding › [nanoSP] Onboarding flow already set up Error: connect ECONNREFUSED 127.0.0.1 at Function.AxiosError.from (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/AxiosError.js:89: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)
[mocked_tests] › specs/services/wallet-api.spec.ts:207:5 › Wallet API methods @smoke: apps/ledger-live-desktop/tests/page/drawer/drawer.ts#L65
2) [mocked_tests] › specs/services/wallet-api.spec.ts:207:5 › Wallet API methods @smoke ────────── TimeoutError: locator.click: Timeout 99000ms exceeded. Call log: - waiting for getByTestId('account-row-bitcoin-0').first() at page/drawer/drawer.ts:65 63 | 64 | async selectAccount(accountName: string, index = 0) { > 65 | await this.getAccountButton(accountName, index).click(); | ^ 66 | } 67 | 68 | back() { at Drawer.selectAccount (/home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/page/drawer/drawer.ts:65:53) at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/services/wallet-api.spec.ts:246:18 at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/services/wallet-api.spec.ts:220:3
[mocked_tests] › specs/services/wallet-api.spec.ts:207:5 › Wallet API methods @smoke: apps/ledger-live-desktop/tests/specs/services/wallet-api.spec.ts#L1
2) [mocked_tests] › specs/services/wallet-api.spec.ts:207:5 › Wallet API methods @smoke ────────── Error: connect ECONNREFUSED 127.0.0.1 at Function.AxiosError.from (/home/runner/_work/ledger-live/ledger-live/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/AxiosError.js:89: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)
[mocked_tests] › specs/services/wallet-api.spec.ts:207:5 › Wallet API methods @smoke: apps/ledger-live-desktop/tests/models/LiveAppWebview.ts#L133
2) [mocked_tests] › specs/services/wallet-api.spec.ts:207:5 › Wallet API methods @smoke ────────── Error: page.evaluate: Target page, context or browser has been closed at models/LiveAppWebview.ts:133 131 | `; 132 | > 133 | return this.page.evaluate(functionToExecute => { | ^ 134 | const webview = document.querySelector("webview") as WebviewTag; 135 | return webview.executeJavaScript(functionToExecute); 136 | }, sendFunction); at LiveAppWebview.send (/home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/models/LiveAppWebview.ts:133:22) at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/services/wallet-api.spec.ts:227:37 at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/services/wallet-api.spec.ts:220:3
Desktop Tests E2E (Ubuntu)
Process completed with exit code 1.
Desktop Unit Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Desktop Code Checks
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected], actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: apps/ledger-live-desktop/[mocked_tests] › specs/services/wallet-api.spec.ts#L1
apps/ledger-live-desktop/[mocked_tests] › specs/services/wallet-api.spec.ts took 2.2m
report
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/github-script@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
🎭 Playwright Run Summary
2 failed [mocked_tests] › specs/onboarding/connect-device.spec.ts:15:9 › Onboarding › [nanoSP] Onboarding flow already set up [mocked_tests] › specs/services/wallet-api.spec.ts:207:5 › Wallet API methods @smoke ─────────── 3 skipped 63 passed (4.9m)

Artifacts

Produced during runtime
Name Size
allure-results-linux Expired
731 KB
images Expired
336 Bytes
lint Expired
34.4 KB
playwright-results-linux Expired
4.27 MB
summary.json Expired
1.11 KB