[QAA-354] playwright e2e speculos tests with Prod env #5708
Annotations
2 errors and 1 notice
Run playwright tests [Linux => xvfb-run]:
apps/ledger-live-desktop/tests/specs/general/layout.spec.ts#L56
1) [mocked_tests] › specs/general/layout.spec.ts:11:5 › Layout @smoke › go to experimental features
Error: Screenshot comparison failed:
9068 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/general/layout.spec.ts-snapshots/experimental-features-linux.png
Received: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/general-layout-Layout-smoke-mocked-tests/experimental-features-actual.png
Diff: /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/artifacts/test-results/general-layout-Layout-smoke-mocked-tests/experimental-features-diff.png
Call log:
- expect.soft.toHaveScreenshot(experimental-features.png) with timeout 41000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 9068 pixels (ratio 0.02 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
- 9068 pixels (ratio 0.02 of all image pixels) are different.
54 | await layout.goToPortfolio();
55 | await layout.drawerExperimentalButton.click();
> 56 | await expect.soft(page).toHaveScreenshot("experimental-features.png");
| ^
57 | });
58 |
59 | await test.step("shows a starred account, and can access the page", async () => {
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/general/layout.spec.ts:56:29
at /home/runner/_work/ledger-live/ledger-live/apps/ledger-live-desktop/tests/specs/general/layout.spec.ts:50:3
|
Run playwright tests [Linux => xvfb-run]
Process completed with exit code 1.
|
Run playwright tests [Linux => xvfb-run]
1 failed
[mocked_tests] › specs/general/layout.spec.ts:11:5 › Layout @smoke ─────────────────────────────
3 skipped
62 passed (8.1m)
|
Loading