refactor!: move FallbackSrc
, Initials
, Autocolor
pipes to core, make it standalone
#628
Annotations
2 errors and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L40
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-card-grouped
Error: Screenshot comparison failed:
3130 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--components-input-card-grouped-codeLength--select-option-0-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-input-card-grouped-chromium/deep--components-input-card-grouped-codeLength--select-option-0-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-input-card-grouped-chromium/deep--components-input-card-grouped-codeLength--select-option-0-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-tui-demo-c134="">…</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
- 3130 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-tui-demo-c134="">…</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
- 3130 pixels (ratio 0.02 of all image pixels) are different.
38 | await api.networkidle();
39 |
> 40 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
41 | `deep-${path}__${name}-select-option-${index}.png`,
42 | {threshold: 0.02},
43 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:40:54
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L40
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-card-grouped
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
302 pixels (ratio 0.01 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--components-input-card-grouped-cardSrc--select-option-3-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-input-card-grouped-chromium-retry1/deep--components-input-card-grouped-cardSrc--select-option-3-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-input-card-grouped-chromium-retry1/deep--components-input-card-grouped-cardSrc--select-option-3-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-tui-demo-c134="">…</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
- 302 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-tui-demo-c134="">…</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
- 302 pixels (ratio 0.01 of all image pixels) are different.
38 | await api.networkidle();
39 |
> 40 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
41 | `deep-${path}__${name}-select-option-${index}.png`,
42 | {threshold: 0.02},
43 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:40:54
|
Run screenshot tests on dist/demo/browser/main
1 flaky
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/input-card-grouped
110 passed (7.4m)
|
Run screenshot tests on dist/demo/browser
111 passed (8.9m)
|
Loading