refactor(core): Notification
simplify to directive
#3377
Annotations
9 errors and 2 notices
projects/demo-playwright/tests/deep/deep-select.spec.ts#L45
1) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/notification ──
Error: A snapshot doesn't exist at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--components-notification-status--select-option-0-chromium-linux.png, writing actual.
43 | await api.waitStableState();
44 |
> 45 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
46 | `deep-${path}__${name}-select-option-${index}.png`,
47 | {threshold: 0.02},
48 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:45:21
|
projects/demo-playwright/tests/deep/deep-select.spec.ts#L45
1) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/notification ──
Error: A snapshot doesn't exist at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--components-notification-status--select-option-1-chromium-linux.png, writing actual.
43 | await api.waitStableState();
44 |
> 45 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
46 | `deep-${path}__${name}-select-option-${index}.png`,
47 | {threshold: 0.02},
48 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:45:21
|
projects/demo-playwright/tests/deep/deep-select.spec.ts#L45
1) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/notification ──
Error: A snapshot doesn't exist at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--components-notification-status--select-option-2-chromium-linux.png, writing actual.
43 | await api.waitStableState();
44 |
> 45 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
46 | `deep-${path}__${name}-select-option-${index}.png`,
47 | {threshold: 0.02},
48 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:45:21
|
projects/demo-playwright/tests/deep/deep-select.spec.ts#L45
1) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/notification ──
Error: A snapshot doesn't exist at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--components-notification-status--select-option-3-chromium-linux.png, writing actual.
43 | await api.waitStableState();
44 |
> 45 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
46 | `deep-${path}__${name}-select-option-${index}.png`,
47 | {threshold: 0.02},
48 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:45:21
|
projects/demo-playwright/tests/deep/deep-select.spec.ts#L45
1) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/notification ──
Error: A snapshot doesn't exist at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-select.spec.ts-snapshots/deep--components-notification-status--select-option-4-chromium-linux.png, writing actual.
43 | await api.waitStableState();
44 |
> 45 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
46 | `deep-${path}__${name}-select-option-${index}.png`,
47 | {threshold: 0.02},
48 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:45:21
|
projects/demo-playwright/tests/deep/deep-select.spec.ts#L45
2) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /charts/pie-chart ─────────
Error: Screenshot comparison failed:
1873 pixels (ratio 0.03 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-pie-chart-value--select-option-2-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-charts-pie-chart-chromium/deep--charts-pie-chart-value--select-option-2-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-charts-pie-chart-chromium/deep--charts-pie-chart-value--select-option-2-diff.png
Call log:
- expect.toHaveScreenshot(deep-/charts/pie-chart__[value]-select-option-2.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c1217080248="">…</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
- 1873 pixels (ratio 0.03 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-c1217080248="">…</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
- 1873 pixels (ratio 0.03 of all image pixels) are different.
43 | await api.waitStableState();
44 |
> 45 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
46 | `deep-${path}__${name}-select-option-${index}.png`,
47 | {threshold: 0.02},
48 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:45:54
|
projects/demo-playwright/tests/deep/deep-select.spec.ts#L45
2) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /charts/pie-chart ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
1873 pixels (ratio 0.03 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-pie-chart-value--select-option-2-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-charts-pie-chart-chromium-retry1/deep--charts-pie-chart-value--select-option-2-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-charts-pie-chart-chromium-retry1/deep--charts-pie-chart-value--select-option-2-diff.png
Call log:
- expect.toHaveScreenshot(deep-/charts/pie-chart__[value]-select-option-2.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c1217080248="">…</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
- 1873 pixels (ratio 0.03 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-c1217080248="">…</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
- 1873 pixels (ratio 0.03 of all image pixels) are different.
43 | await api.waitStableState();
44 |
> 45 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
46 | `deep-${path}__${name}-select-option-${index}.png`,
47 | {threshold: 0.02},
48 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:45:54
|
projects/demo-playwright/tests/deep/deep-select.spec.ts#L45
2) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /charts/pie-chart ─────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
1873 pixels (ratio 0.03 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-pie-chart-value--select-option-2-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-charts-pie-chart-chromium-retry2/deep--charts-pie-chart-value--select-option-2-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-charts-pie-chart-chromium-retry2/deep--charts-pie-chart-value--select-option-2-diff.png
Call log:
- expect.toHaveScreenshot(deep-/charts/pie-chart__[value]-select-option-2.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c1217080248="">…</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
- 1873 pixels (ratio 0.03 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-c1217080248="">…</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
- 1873 pixels (ratio 0.03 of all image pixels) are different.
43 | await api.waitStableState();
44 |
> 45 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
46 | `deep-${path}__${name}-select-option-${index}.png`,
47 | {threshold: 0.02},
48 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:45:54
|
|
|
|
This job succeeded
Loading