@Desktop • Test App triggered by lambertkevin on ref feature/CAL-service-migration #32683
Annotations
6 errors, 1 warning, and 1 notice
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
|
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)
|
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
|
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)
|
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
|
|
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
|
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)
|
This job failed
Loading