Merge pull request #7810 from LedgerHQ/fix/prevent-merge-with-cancell… #11
Annotations
3 errors and 1 notice
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:
297024 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
- 26484 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
- 278353 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
- 297024 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
|
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)
|
|
|
This job failed
Loading