ci: attach Cypress CT diff-snapshots to CI report #9657
Annotations
1 error and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L47
1) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /charts/ring-chart ────────
Error: Screenshot comparison failed:
1752 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--charts-ring-chart-value--select-option-1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-charts-ring-chart-chromium/deep--charts-ring-chart-value--select-option-1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-charts-ring-chart-chromium/deep--charts-ring-chart-value--select-option-1-diff.png
Call log:
- expect.toHaveScreenshot(deep-/charts/ring-chart__[value]-select-option-1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c3888982576="">…</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
- 1752 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c3888982576="">…</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
- 1752 pixels (ratio 0.02 of all image pixels) are different.
45 | await api.waitStableState();
46 |
> 47 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
48 | `deep-${path}__${name}-select-option-${index}.png`,
49 | {threshold: 0.02},
50 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:47:54
|
Run screenshot tests on dist/demo/browser/main
1 flaky
[chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /charts/ring-chart ─────────
96 passed (2.3m)
|
Run screenshot tests on dist/demo/browser
97 passed (3.0m)
|
Loading