chore: add request.cy.ts
#9006
Annotations
2 errors, 1 warning, and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L39
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/rating ─────────
Error: Screenshot comparison failed:
3998 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-rating-style-color--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-rating-chromium/deep--components-rating-style-color--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-rating-chromium/deep--components-rating-style-color--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-c131="">…</div>
- 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
- 3998 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-c131="">…</div>
- 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
- 3998 pixels (ratio 0.02 of all image pixels) are different.
37 | await api.hideNotifications();
38 |
> 39 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
40 | `deep-${path}__${name}-select-option-${index}.png`,
41 | );
42 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:39:54
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/deep/deep-select.spec.ts#L39
1) [chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/rating ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
1380 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-rating-iconNormal--select-option-1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-rating-chromium-retry1/deep--components-rating-iconNormal--select-option-1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-rating-chromium-retry1/deep--components-rating-iconNormal--select-option-1-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-c131="">…</div>
- 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
- 1380 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-c131="">…</div>
- 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
- 1380 pixels (ratio 0.01 of all image pixels) are different.
37 | await api.hideNotifications();
38 |
> 39 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
40 | `deep-${path}__${name}-select-option-${index}.png`,
41 | );
42 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:39:54
|
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
110 passed (8.5m)
|
Run screenshot tests on dist/demo/browser/main
1 flaky
[chromium] › tests/deep/deep-select.spec.ts:8:13 › Deep / Select › /components/rating ──────────
109 passed (6.8m)
|
The logs for this run have expired and are no longer available.
Loading