@Desktop • Test App triggered by mcayuelas-ledger on ref chore/electron-32 #32709
test-desktop.yml
on: workflow_dispatch
Desktop Tests E2E (Ubuntu)
5m 41s
Allure Reports Export on Server
0s
report
46s
Annotations
7 errors, 3 warnings, and 1 notice
Desktop Unit Tests
Process completed with exit code 1.
|
[mocked_tests] › specs/market/market.spec.ts:34:5 › Market:
apps/ledger-live-desktop/tests/specs/market/market.spec.ts#L155
1) [mocked_tests] › specs/market/market.spec.ts:34:5 › Market ────────────────────────────────────
Error: Screenshot comparison failed:
297192 pixels (ratio 0.38 of all image pixels) are different.
Expected: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/market/market.spec.ts-snapshots/market-page-filter-starred-linux.png
Received: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/market-market-Market-mocked-tests/market-page-filter-starred-actual.png
Diff: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/market-market-Market-mocked-tests/market-page-filter-starred-diff.png
Call log:
- expect.soft.toHaveScreenshot(market-page-filter-starred.png) with timeout 41000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 26498 pixels (ratio 0.04 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
- 278392 pixels (ratio 0.36 of all image pixels) are different.
- waiting 250ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 297192 pixels (ratio 0.38 of all image pixels) are different.
153 | await marketPage.waitForLoadingWithSwapbtn();
154 | // await marketPage.waitForSearchBarToBeEmpty(); // windows was showing the search bar still containing text. This wait prevents that
> 155 | await expect.soft(page).toHaveScreenshot("market-page-filter-starred.png", maskItems);
| ^
156 | });
157 |
158 | await test.step("swap available to bitcoin", async () => {
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/market/market.spec.ts:155:29
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/market/market.spec.ts:151:3
|
[mocked_tests] › specs/market/market.spec.ts:34:5 › Market:
apps/ledger-live-desktop/tests/specs/market/market.spec.ts#L177
1) [mocked_tests] › specs/market/market.spec.ts:34:5 › Market ────────────────────────────────────
Error: Screenshot comparison failed:
164337 pixels (ratio 0.21 of all image pixels) are different.
Expected: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/market/market.spec.ts-snapshots/market-btc-page-linux.png
Received: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/market-market-Market-mocked-tests/market-btc-page-actual.png
Diff: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/market-market-Market-mocked-tests/market-btc-page-diff.png
Call log:
- expect.soft.toHaveScreenshot(market-btc-page.png) with timeout 41000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 174836 pixels (ratio 0.23 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
- 164337 pixels (ratio 0.21 of all image pixels) are different.
175 | await test.step("go to bitcoin page", async () => {
176 | await marketPage.openCoinPage("btc");
> 177 | await expect.soft(page).toHaveScreenshot("market-btc-page.png", {
| ^
178 | mask: [
179 | page.getByTestId("chart-container"),
180 | page.getByTestId("market-price-delta"),
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/market/market.spec.ts:177:29
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/market/market.spec.ts:175:3
|
[mocked_tests] › specs/market/market.spec.ts:34:5 › Market:
apps/ledger-live-desktop/tests/specs/market/market.spec.ts#L1
1) [mocked_tests] › specs/market/market.spec.ts:34:5 › Market ────────────────────────────────────
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/dapp.spec.ts:20:7 › Metamask Test Dapp › Wallet API methods @smoke:
apps/ledger-live-desktop/tests/specs/services/dapp.spec.ts#L49
2) [mocked_tests] › specs/services/dapp.spec.ts:20:7 › Metamask Test Dapp › Wallet API methods @smoke
Error: Timed out 41000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Sign message')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 41000ms
- waiting for getByText('Sign message')
47 | // Checks that personalSign works
48 | await webview.click("#personalSign");
> 49 | await expect(page.getByText("Sign message")).toBeVisible();
| ^
50 | await modal.continueToSignTransaction();
51 |
52 | // Step Device
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/services/dapp.spec.ts:49:50
|
[mocked_tests] › specs/services/dapp.spec.ts:20:7 › Metamask Test Dapp › Wallet API methods @smoke:
apps/ledger-live-desktop/tests/specs/services/dapp.spec.ts#L1
2) [mocked_tests] › specs/services/dapp.spec.ts:20:7 › Metamask Test Dapp › 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)
|
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/
|
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/market/market.spec.ts:34:5 › Market ─────────────────────────────────────
[mocked_tests] › specs/services/dapp.spec.ts:20:7 › Metamask Test Dapp › Wallet API methods @smoke
3 skipped
63 passed (3.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
allure-results-linux
Expired
|
850 KB |
|
images
Expired
|
363 Bytes |
|
lint
Expired
|
34.4 KB |
|
playwright-results-linux
Expired
|
4.46 MB |
|
summary.json
Expired
|
1.16 KB |
|