feat(core): Hint
add mobile behavior
#10157
Annotations
4 errors and 2 notices
projects/demo-playwright/tests/addon-charts/pie-chart/pie-chart.spec.ts#L22
1) [chromium] › tests/addon-charts/pie-chart/pie-chart.spec.ts:6:9 › PieChart › should be show hints on charts
Error: Screenshot comparison failed:
1183 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/addon-charts/pie-chart/pie-chart.spec.ts-snapshots/01-pie-chart-with-label--hover-1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-charts-pie-cha-99a56-uld-be-show-hints-on-charts-chromium/01-pie-chart-with-label--hover-1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-charts-pie-cha-99a56-uld-be-show-hints-on-charts-chromium/01-pie-chart-with-label--hover-1-diff.png
Call log:
- expect.toHaveScreenshot(01-pie-chart-with-label--hover-1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#labels [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
- 1183 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#labels [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
- 1183 pixels (ratio 0.01 of all image pixels) are different.
20 | await expect(page.locator('tui-hint')).toBeAttached();
21 |
> 22 | await expect(example).toHaveScreenshot(
| ^
23 | `01-pie-chart-with-label--hover-${i + 1}.png`,
24 | );
25 | }
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-charts/pie-chart/pie-chart.spec.ts:22:35
|
projects/demo-playwright/tests/addon-charts/pie-chart/pie-chart.spec.ts#L22
1) [chromium] › tests/addon-charts/pie-chart/pie-chart.spec.ts:6:9 › PieChart › should be show hints on charts
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
1183 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/addon-charts/pie-chart/pie-chart.spec.ts-snapshots/01-pie-chart-with-label--hover-1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-charts-pie-cha-99a56-uld-be-show-hints-on-charts-chromium-retry1/01-pie-chart-with-label--hover-1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-charts-pie-cha-99a56-uld-be-show-hints-on-charts-chromium-retry1/01-pie-chart-with-label--hover-1-diff.png
Call log:
- expect.toHaveScreenshot(01-pie-chart-with-label--hover-1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#labels [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
- 1183 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#labels [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
- 1183 pixels (ratio 0.01 of all image pixels) are different.
20 | await expect(page.locator('tui-hint')).toBeAttached();
21 |
> 22 | await expect(example).toHaveScreenshot(
| ^
23 | `01-pie-chart-with-label--hover-${i + 1}.png`,
24 | );
25 | }
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-charts/pie-chart/pie-chart.spec.ts:22:35
|
projects/demo-playwright/tests/addon-charts/pie-chart/pie-chart.spec.ts#L22
1) [chromium] › tests/addon-charts/pie-chart/pie-chart.spec.ts:6:9 › PieChart › should be show hints on charts
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
1183 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/addon-charts/pie-chart/pie-chart.spec.ts-snapshots/01-pie-chart-with-label--hover-1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-charts-pie-cha-99a56-uld-be-show-hints-on-charts-chromium-retry2/01-pie-chart-with-label--hover-1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-charts-pie-cha-99a56-uld-be-show-hints-on-charts-chromium-retry2/01-pie-chart-with-label--hover-1-diff.png
Call log:
- expect.toHaveScreenshot(01-pie-chart-with-label--hover-1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#labels [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
- 1183 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#labels [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
- 1183 pixels (ratio 0.01 of all image pixels) are different.
20 | await expect(page.locator('tui-hint')).toBeAttached();
21 |
> 22 | await expect(example).toHaveScreenshot(
| ^
23 | `01-pie-chart-with-label--hover-${i + 1}.png`,
24 | );
25 | }
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-charts/pie-chart/pie-chart.spec.ts:22:35
|
|
|
|
This job succeeded
Loading