chore(demo-playwright): add Playwright
#5735
Annotations
2 errors, 1 warning, and 2 notices
projects/demo-playwright/tests/example.spec.ts#L14
1) [chromium] › tests/example.spec.ts:9:5 › debug screenshot ─────────────────────────────────────
Error: Screenshot comparison failed:
4579 pixels (ratio 0.01 of all image pixels) are different.
Call log:
- expect.toHaveScreenshot(test-playwright-screenshot.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-dialog tui-mobile-calendar')
- locator resolved to <tui-mobile-calendar _nghost-tui-demo-c344="" _ngcontent-tui-demo-c34…>…</tui-mobile-calendar>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 4430 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-dialog tui-mobile-calendar')
- locator resolved to <tui-mobile-calendar _nghost-tui-demo-c344="" _ngcontent-tui-demo-c34…>…</tui-mobile-calendar>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 4319 pixels (ratio 0.01 of all image pixels) are different.
- waiting 250ms before taking screenshot
- waiting for locator('tui-dialog tui-mobile-calendar')
- locator resolved to <tui-mobile-calendar _nghost-tui-demo-c344="" _ngcontent-tui-demo-c34…>…</tui-mobile-calendar>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 4579 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-example-debug-screenshot-chromium/test-playwright-screenshot-expected.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-example-debug-screenshot-chromium/test-playwright-screenshot-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-example-debug-screenshot-chromium/test-playwright-screenshot-diff.png
12 | await page.locator(`tui-mobile-calendar-example-1 button`).click();
13 |
> 14 | await expect(page.locator(`tui-dialog tui-mobile-calendar`)).toHaveScreenshot(
| ^
15 | `test-playwright-screenshot.png`,
16 | );
17 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/example.spec.ts:14:66
|
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
|
The logs for this run have expired and are no longer available.
Loading