fix(kit): correct resolve date range in mobile calendar #7897
Annotations
10 errors and 2 notices
projects/demo-playwright/tests/example.spec.ts#L15
1) [chromium] › tests/example.spec.ts:10:5 › debug screenshot ────────────────────────────────────
Error: Screenshot comparison failed:
564 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/example.spec.ts-snapshots/test-playwright-screenshot-chromium-linux.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
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-dialog tui-mobile-calendar')
- locator resolved to <tui-mobile-calendar _nghost-tui-demo-c358="" _ngcontent-tui-demo-c35…>…</tui-mobile-calendar>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 564 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-c358="" _ngcontent-tui-demo-c35…>…</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
- 564 pixels (ratio 0.01 of all image pixels) are different.
13 | await page.locator(`tui-mobile-calendar-example-1 button`).click();
14 |
> 15 | await expect(page.locator(`tui-dialog tui-mobile-calendar`)).toHaveScreenshot(
| ^
16 | `test-playwright-screenshot.png`,
17 | );
18 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/example.spec.ts:15:66
|
projects/demo-playwright/tests/example.spec.ts#L1
1) [chromium] › tests/example.spec.ts:10:5 › debug screenshot ────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
projects/demo-playwright/utils/goto.ts#L28
1) [chromium] › tests/example.spec.ts:10:5 › debug screenshot ────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: Test timeout of 30000ms exceeded.
Call log:
- navigating to "http://localhost:3333/components/mobile-calendar", waiting until "load"
at utils/goto.ts:28
26 | await tuiMockDate(page, date);
27 |
> 28 | const response = await page.goto(url, playwrightGotoOptions);
| ^
29 |
30 | await expect(page.locator(`app`)).toHaveClass(/_loaded/, {timeout: 15_000});
31 | await tuiWaitForFonts(page);
at tuiGoto (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/goto.ts:28:33)
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/example.spec.ts:11:5
|
projects/demo-playwright/tests/icons/icons-customization.spec.ts#L10
2) [chromium] › tests/icons/icons-customization.spec.ts:16:13 › Icons Customization › Examples › custom names
Test timeout of 30000ms exceeded while running "beforeEach" hook.
8 | let documentationPage: TuiDocumentationPagePO;
9 |
> 10 | beforeEach(async ({page}) => {
| ^
11 | await tuiGoto(page, `icons/customization`);
12 |
13 | documentationPage = new TuiDocumentationPagePO(page);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/icons/icons-customization.spec.ts:10:9
|
projects/demo-playwright/utils/goto.ts#L28
2) [chromium] › tests/icons/icons-customization.spec.ts:16:13 › Icons Customization › Examples › custom names
Error: page.goto: Test timeout of 30000ms exceeded.
Call log:
- navigating to "http://localhost:3333/icons/customization", waiting until "load"
at utils/goto.ts:28
26 | await tuiMockDate(page, date);
27 |
> 28 | const response = await page.goto(url, playwrightGotoOptions);
| ^
29 |
30 | await expect(page.locator(`app`)).toHaveClass(/_loaded/, {timeout: 15_000});
31 | await tuiWaitForFonts(page);
at tuiGoto (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/goto.ts:28:33)
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/icons/icons-customization.spec.ts:11:13
|
projects/demo-playwright/tests/icons/icons-customization.spec.ts#L10
3) [chromium] › tests/icons/icons-customization.spec.ts:22:13 › Icons Customization › Examples › custom styles
Test timeout of 30000ms exceeded while running "beforeEach" hook.
8 | let documentationPage: TuiDocumentationPagePO;
9 |
> 10 | beforeEach(async ({page}) => {
| ^
11 | await tuiGoto(page, `icons/customization`);
12 |
13 | documentationPage = new TuiDocumentationPagePO(page);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/icons/icons-customization.spec.ts:10:9
|
projects/demo-playwright/utils/goto.ts#L28
3) [chromium] › tests/icons/icons-customization.spec.ts:22:13 › Icons Customization › Examples › custom styles
Error: page.goto: Test timeout of 30000ms exceeded.
Call log:
- navigating to "http://localhost:3333/icons/customization", waiting until "load"
at utils/goto.ts:28
26 | await tuiMockDate(page, date);
27 |
> 28 | const response = await page.goto(url, playwrightGotoOptions);
| ^
29 |
30 | await expect(page.locator(`app`)).toHaveClass(/_loaded/, {timeout: 15_000});
31 | await tuiWaitForFonts(page);
at tuiGoto (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/goto.ts:28:33)
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/icons/icons-customization.spec.ts:11:13
|
projects/demo-playwright/tests/kit/carousel/carousel.spec.ts#L1
4) [chromium] › tests/kit/carousel/carousel.spec.ts:17:9 › Carousel › padding has zero value ─────
Test timeout of 30000ms exceeded.
|
projects/demo-playwright/utils/goto.ts#L28
4) [chromium] › tests/kit/carousel/carousel.spec.ts:17:9 › Carousel › padding has zero value ─────
Error: page.goto: Test timeout of 30000ms exceeded.
Call log:
- navigating to "http://localhost:3333/components/carousel/API?style.--tui-carousel-padding=0", waiting until "load"
at utils/goto.ts:28
26 | await tuiMockDate(page, date);
27 |
> 28 | const response = await page.goto(url, playwrightGotoOptions);
| ^
29 |
30 | await expect(page.locator(`app`)).toHaveClass(/_loaded/, {timeout: 15_000});
31 | await tuiWaitForFonts(page);
at tuiGoto (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/goto.ts:28:33)
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/carousel/carousel.spec.ts:18:9
|
|
1 failed
[chromium] › tests/example.spec.ts:10:5 › debug screenshot ─────────────────────────────────────
3 flaky
[chromium] › tests/icons/icons-customization.spec.ts:16:13 › Icons Customization › Examples › custom names
[chromium] › tests/icons/icons-customization.spec.ts:22:13 › Icons Customization › Examples › custom styles
[chromium] › tests/kit/carousel/carousel.spec.ts:17:9 › Carousel › padding has zero value ──────
67 passed (1.9m)
|
|
The logs for this run have expired and are no longer available.
Loading