chore: export TUI_ANIMATIONS_DEFAULT_DURATION
#8847
Annotations
2 errors, 1 warning, and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/addon-doc/code.spec.ts#L28
1) [chromium] › tests/addon-doc/code.spec.ts:17:9 › Code blocks › tabs ───────────────────────────
Error: Screenshot comparison failed:
578 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/addon-doc/code.spec.ts-snapshots/02-01-code-block-HTML-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-doc-code-Code-blocks-tabs-chromium/02-01-code-block-HTML-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-doc-code-Code-blocks-tabs-chromium/02-01-code-block-HTML-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-doc-example#basic')
- locator resolved to <tui-doc-example id="basic" heading="Styles change" _nghost-tui-d…>…</tui-doc-example>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- 578 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-doc-example#basic')
- locator resolved to <tui-doc-example id="basic" heading="Styles change" _nghost-tui-d…>…</tui-doc-example>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 578 pixels (ratio 0.01 of all image pixels) are different.
26 | await documentation.networkidle();
27 |
> 28 | await expect(page.locator('tui-doc-example#basic')).toHaveScreenshot(
| ^
29 | `02-0${index + 1}-code-block-${title}.png`,
30 | );
31 | }
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-doc/code.spec.ts:28:65
|
Run screenshot tests on dist/demo/browser:
projects/demo-playwright/tests/addon-doc/code.spec.ts#L28
1) [chromium] › tests/addon-doc/code.spec.ts:17:9 › Code blocks › tabs ───────────────────────────
Error: Timeout 5000ms exceeded.
Previous: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-doc-code-Code-blocks-tabs-chromium/02-03-code-block-LESS-previous.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-doc-code-Code-blocks-tabs-chromium/02-03-code-block-LESS-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-doc-code-Code-blocks-tabs-chromium/02-03-code-block-LESS-diff.png
Call log:
- expect.toHaveScreenshot(02-03-code-block-LESS.png) with timeout 5000ms
- generating new stable screenshot expectation
- waiting for locator('tui-doc-example#basic')
- locator resolved to <tui-doc-example id="basic" heading="Styles change" _nghost-tui-d…>…</tui-doc-example>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- waiting 100ms before taking screenshot
- waiting for locator('tui-doc-example#basic')
- locator resolved to <tui-doc-example id="basic" heading="Styles change" _nghost-tui-d…>…</tui-doc-example>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- 18954 pixels (ratio 0.01 of all image pixels) are different.
- waiting 250ms before taking screenshot
- waiting for locator('tui-doc-example#basic')
- locator resolved to <tui-doc-example id="basic" heading="Styles change" _nghost-tui-d…>…</tui-doc-example>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- waiting for element to be visible and stable
- element is visible and stable
- 18954 pixels (ratio 0.01 of all image pixels) are different.
- waiting 500ms before taking screenshot
- waiting for locator('tui-doc-example#basic')
- locator resolved to <tui-doc-example id="basic" heading="Styles change" _nghost-tui-d…>…</tui-doc-example>
- Timeout 5000ms exceeded.
26 | await documentation.networkidle();
27 |
> 28 | await expect(page.locator('tui-doc-example#basic')).toHaveScreenshot(
| ^
29 | `02-0${index + 1}-code-block-${title}.png`,
30 | );
31 | }
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-doc/code.spec.ts:28:65
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run screenshot tests on dist/demo/browser/main
1 flaky
[chromium] › tests/addon-doc/code.spec.ts:17:9 › Code blocks › tabs ────────────────────────────
108 passed (1.7m)
|
Run screenshot tests on dist/demo/browser
1 flaky
[chromium] › tests/addon-doc/code.spec.ts:17:9 › Code blocks › tabs ────────────────────────────
108 passed (1.9m)
|
The logs for this run have expired and are no longer available.
Loading