chore: investigate threshold #10545
Annotations
2 errors and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/tree/tree.pw.spec.ts#L15
1) [chromium] › tests/kit/tree/tree.pw.spec.ts:6:9 › Tree › Programmatic control ─────────────────
Error: Screenshot comparison failed:
14345 pixels (ratio 0.04 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/tree/tree.pw.spec.ts-snapshots/01-programmatic-control-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-tree-tree.pw-Tree-Programmatic-control-chromium/01-programmatic-control-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-tree-tree.pw-Tree-Programmatic-control-chromium/01-programmatic-control-diff.png
Call log:
- expect.toHaveScreenshot(01-programmatic-control.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#programmatic [automation-id="tui-doc-example"]')
- 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
- Expected an image 640px by 646px, received 640px by 566px. 24921 pixels (ratio 0.07 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#programmatic [automation-id="tui-doc-example"]')
- 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
- Expected an image 640px by 566px, received 640px by 646px. 10576 pixels (ratio 0.03 of all image pixels) are different.
- waiting 250ms before taking screenshot
- waiting for locator('#programmatic [automation-id="tui-doc-example"]')
- 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
- 14345 pixels (ratio 0.04 of all image pixels) are different.
13 | await example.locator('button.programmatic').nth(2).click();
14 |
> 15 | await expect(example).toHaveScreenshot('01-programmatic-control.png');
| ^
16 | });
17 | });
18 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/tree/tree.pw.spec.ts:15:31
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/tree/tree.pw.spec.ts#L15
1) [chromium] › tests/kit/tree/tree.pw.spec.ts:6:9 › Tree › Programmatic control ─────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
14345 pixels (ratio 0.04 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/tree/tree.pw.spec.ts-snapshots/01-programmatic-control-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-tree-tree.pw-Tree-Programmatic-control-chromium-retry1/01-programmatic-control-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-tree-tree.pw-Tree-Programmatic-control-chromium-retry1/01-programmatic-control-diff.png
Call log:
- expect.toHaveScreenshot(01-programmatic-control.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#programmatic [automation-id="tui-doc-example"]')
- 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
- 14345 pixels (ratio 0.04 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#programmatic [automation-id="tui-doc-example"]')
- 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
- 14345 pixels (ratio 0.04 of all image pixels) are different.
13 | await example.locator('button.programmatic').nth(2).click();
14 |
> 15 | await expect(example).toHaveScreenshot('01-programmatic-control.png');
| ^
16 | });
17 | });
18 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/tree/tree.pw.spec.ts:15:31
|
Run screenshot tests on dist/demo/browser/main
1 flaky
[chromium] › tests/kit/tree/tree.pw.spec.ts:6:9 › Tree › Programmatic control ──────────────────
107 passed (1.7m)
|
Run screenshot tests on dist/demo/browser
108 passed (1.9m)
|
Loading