Merge pull request #8169 from LedgerHQ/bugfix/LIVE-14585 #300
Annotations
2 errors and 1 notice
apps/ledger-live-desktop/tests/specs/market/market.spec.ts#L177
1) [mocked_tests] › specs/market/market.spec.ts:34:5 › Market › go to bitcoin page ───────────────
Error: Screenshot comparison failed:
181500 pixels (ratio 0.24 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
- 174112 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
- 181500 pixels (ratio 0.24 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
|
|
|
This job failed
Loading