Skip to content

ci: attach Cypress CT diff-snapshots to CI report #9678

ci: attach Cypress CT diff-snapshots to CI report

ci: attach Cypress CT diff-snapshots to CI report #9678

Triggered via pull request October 3, 2024 14:39
Status Failure
Total duration 12m 26s
Artifacts 3

e2e.yml

on: pull_request
Build demo
48s
Build demo
Cypress / Component Testing
4m 7s
Cypress / Component Testing
Matrix: playwright
E2E result
8s
E2E result
Playwright E2E Tests matrix result
0s
Playwright E2E Tests matrix result
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 1 warning, and 18 notices
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/chip: projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/chip ────────────────────────── Error: Screenshot comparison failed: 133 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/components-chip/4-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-chip-chromium/components-chip/4-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-chip-chromium/components-chip/4-diff.png Call log: - expect.toHaveScreenshot(components-chip/4.png) with timeout 5000ms - verifying given screenshot expectation - waiting for getByTestId('tui-doc-example').nth(3) - locator resolved to <div _ngcontent-ng-c644840128="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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 - 133 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for getByTestId('tui-doc-example').nth(3) - locator resolved to <div _ngcontent-ng-c644840128="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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 - 133 pixels (ratio 0.01 of all image pixels) are different. 35 | await documentation.waitStableState(); // note: load lazy loading images 36 | > 37 | await expect(example).toHaveScreenshot( | ^ 38 | [path.replace('/', '').replaceAll('/', '-'), `${i + 1}.png`], 39 | {threshold: 0.02}, 40 | ); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:37:39
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/chip: projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/chip ────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 133 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/components-chip/4-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-chip-chromium-retry1/components-chip/4-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-chip-chromium-retry1/components-chip/4-diff.png Call log: - expect.toHaveScreenshot(components-chip/4.png) with timeout 5000ms - verifying given screenshot expectation - waiting for getByTestId('tui-doc-example').nth(3) - locator resolved to <div _ngcontent-ng-c644840128="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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 - 133 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for getByTestId('tui-doc-example').nth(3) - locator resolved to <div _ngcontent-ng-c644840128="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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 - 133 pixels (ratio 0.01 of all image pixels) are different. 35 | await documentation.waitStableState(); // note: load lazy loading images 36 | > 37 | await expect(example).toHaveScreenshot( | ^ 38 | [path.replace('/', '').replaceAll('/', '-'), `${i + 1}.png`], 39 | {threshold: 0.02}, 40 | ); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:37:39
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/chip: projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/chip ────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 133 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/components-chip/4-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-chip-chromium-retry2/components-chip/4-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-chip-chromium-retry2/components-chip/4-diff.png Call log: - expect.toHaveScreenshot(components-chip/4.png) with timeout 5000ms - verifying given screenshot expectation - waiting for getByTestId('tui-doc-example').nth(3) - locator resolved to <div _ngcontent-ng-c644840128="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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 - 133 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for getByTestId('tui-doc-example').nth(3) - locator resolved to <div _ngcontent-ng-c644840128="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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 - 133 pixels (ratio 0.01 of all image pixels) are different. 35 | await documentation.waitStableState(); // note: load lazy loading images 36 | > 37 | await expect(example).toHaveScreenshot( | ^ 38 | [path.replace('/', '').replaceAll('/', '-'), `${i + 1}.png`], 39 | {threshold: 0.02}, 40 | ); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:37:39
Playwright / (5 of 9)
Process completed with exit code 1.
E2E result
Process completed with exit code 1.
Slow Test: [chromium] › tests/kit/input-table/input-table.spec.ts#L1
[chromium] › tests/kit/input-table/input-table.spec.ts took 15.6s
🎭 Playwright Run Summary
97 passed (1.2m)
🎭 Playwright Run Summary
97 passed (1.4m)
🎭 Playwright Run Summary
97 passed (1.5m)
🎭 Playwright Run Summary
97 passed (1.3m)
🎭 Playwright Run Summary
96 passed (1.3m)
🎭 Playwright Run Summary
96 passed (1.5m)
🎭 Playwright Run Summary
96 passed (1.5m)
🎭 Playwright Run Summary
96 passed (1.7m)
🎭 Playwright Run Summary
97 passed (1.9m)
🎭 Playwright Run Summary
97 passed (1.6m)
🎭 Playwright Run Summary
97 passed (1.8m)
🎭 Playwright Run Summary
97 passed (1.6m)
🎭 Playwright Run Summary
1 failed [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/chip ─────────────────────────── 96 passed (2.2m)
🎭 Playwright Run Summary
97 passed (2.5m)
🎭 Playwright Run Summary
97 passed (2.5m)
🎭 Playwright Run Summary
97 passed (3.1m)
🎭 Playwright Run Summary
97 passed (4.0m)
🎭 Playwright Run Summary
97 passed (5.0m)

Artifacts

Produced during runtime
Name Size
cy_baseline_900513d531c3c9dcb6bd623eca9a8799d37f335d Expired
24.2 KB
cypress-e2e-artifacts--900513d531c3c9dcb6bd623eca9a8799d37f335d-11164134876-9293 Expired
38.4 KB
playwright-e2e-artifacts--900513d531c3c9dcb6bd623eca9a8799d37f335d-11164134876-9293_5 Expired
65.7 KB