Merge pull request #8614 from LedgerHQ/support/fix-caches-bug #643
Annotations
2 errors and 1 notice
Run playwright tests [Linux => xvfb-run]:
apps/ledger-live-desktop/tests/specs/accounts/delegate.smoke.spec.ts#L48
1) [mocked_tests] › specs/accounts/delegate.smoke.spec.ts:45:5 › The user search and select a provider › open the provider search modal
Error: Screenshot comparison failed:
1132 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/accounts/delegate.smoke.spec.ts-snapshots/provider-search-page-linux.png
Received: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/accounts-delegate.smoke-Th-f01d3-earch-and-select-a-provider-mocked-tests/provider-search-page-actual.png
Diff: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/accounts-delegate.smoke-Th-f01d3-earch-and-select-a-provider-mocked-tests/provider-search-page-diff.png
Call log:
- expect.soft.toHaveScreenshot(provider-search-page.png) with timeout 41000ms
- verifying given screenshot expectation
- waiting for locator('[data-testid=modal-container][style*="opacity: 1"][style*="transform: scale(1)"]')
- locator resolved to <div width="550" tabindex="0" class="sc-dQEtJz iJkiMJ" data-testid="modal-container">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 1132 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('[data-testid=modal-container][style*="opacity: 1"][style*="transform: scale(1)"]')
- locator resolved to <div width="550" tabindex="0" class="sc-dQEtJz iJkiMJ" data-testid="modal-container">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 1132 pixels (ratio 0.01 of all image pixels) are different.
46 | await test.step("open the provider search modal", async () => {
47 | await modalPage.continue();
> 48 | await expect.soft(modalPage.container).toHaveScreenshot(`provider-search-page.png`);
| ^
49 | });
50 |
51 | await test.step("search for new provider", async () => {
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/accounts/delegate.smoke.spec.ts:48:44
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/accounts/delegate.smoke.spec.ts:46:3
|
Run playwright tests [Linux => xvfb-run]
Process completed with exit code 1.
|
Run playwright tests [Linux => xvfb-run]
1 failed
[mocked_tests] › specs/accounts/delegate.smoke.spec.ts:45:5 › The user search and select a provider
3 skipped
62 passed (8.2m)
|
Loading