chore(demo): migrate documentation page stepper
to standalone compo…
#915
Annotations
2 errors and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/utils/hide-element.ts#L4
1) [chromium] › tests/core/dialogs/dialogs.spec.ts:90:17 › Dialogs › 1620x1024 › Show simple + custom button
TimeoutError: locator.evaluate: Timeout 10000ms exceeded.
Call log:
- waiting for locator('tui-scroll-controls').nth(2)
at utils/hide-element.ts:4
2 |
3 | export async function tuiHideElement(element: Locator): Promise<void> {
> 4 | return element.evaluate(el => {
| ^
5 | el.style.opacity = '0';
6 | });
7 | }
at tuiHideElement (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/hide-element.ts:4:20)
at TuiDocumentationPagePO.hideScrollControls (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts:70:33)
at TuiDocumentationPagePO.prepareBeforeScreenshot (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts:76:9)
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dialogs/dialogs.spec.ts:96:17
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/core/dialogs/dialogs.spec.ts#L98
1) [chromium] › tests/core/dialogs/dialogs.spec.ts:90:17 › Dialogs › 1620x1024 › Show simple + custom button
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
109 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/dialogs/dialogs.spec.ts-snapshots/06-custom-button-1620x1024-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dialogs-dialogs-Dialogs-1620x1024-Show-simple-custom-button-chromium-retry1/06-custom-button-1620x1024-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dialogs-dialogs-Dialogs-1620x1024-Show-simple-custom-button-chromium-retry1/06-custom-button-1620x1024-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 109 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 109 pixels (ratio 0.01 of all image pixels) are different.
96 | await documentationPagePO.prepareBeforeScreenshot();
97 |
> 98 | await expect(page).toHaveScreenshot(
| ^
99 | `06-custom-button_${width}x${height}.png`,
100 | );
101 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dialogs/dialogs.spec.ts:98:36
|
Run screenshot tests on dist/demo/browser/main
1 flaky
[chromium] › tests/core/dialogs/dialogs.spec.ts:90:17 › Dialogs › 1620x1024 › Show simple + custom button
109 passed (1.9m)
|
Run screenshot tests on dist/demo/browser
110 passed (2.1m)
|
Loading