fix(core): dont allow to select disabled dates in calendar #11024
Annotations
5 errors, 5 warnings, and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/calendar-range/calendar-range.pw.spec.ts#L115
1) [webkit] › tests/kit/calendar-range/calendar-range.pw.spec.ts:96:13 › CalendarRange › API › Dont allow to select disabled dates in calendar
Error: expect(locator).toHaveScreenshot(expected)
34358 pixels (ratio 0.05 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/calendar-range/calendar-range.pw.spec.ts-snapshots/08-disabled-dates-4-click-to-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-calendar-range-c-47c90--disabled-dates-in-calendar-webkit/08-disabled-dates-4-click-to-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-calendar-range-c-47c90--disabled-dates-in-calendar-webkit/08-disabled-dates-4-click-to-diff.png
Call log:
- expect.toHaveScreenshot(08-disabled-dates-4-click-to.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c2476019924="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 34358 pixels (ratio 0.05 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c2476019924="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 34358 pixels (ratio 0.05 of all image pixels) are different.
113 | await page.mouse.click(100, 100); // clear focus
114 |
> 115 | await expect(example).toHaveScreenshot('08-disabled-dates-4-click-to.png');
| ^
116 |
117 | await getCells().nth(0).click();
118 | await page.mouse.click(100, 100); // clear focus
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/calendar-range/calendar-range.pw.spec.ts:115:35
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/calendar-range/calendar-range.pw.spec.ts#L115
1) [webkit] › tests/kit/calendar-range/calendar-range.pw.spec.ts:96:13 › CalendarRange › API › Dont allow to select disabled dates in calendar
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
34358 pixels (ratio 0.05 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/calendar-range/calendar-range.pw.spec.ts-snapshots/08-disabled-dates-4-click-to-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-calendar-range-c-47c90--disabled-dates-in-calendar-webkit-retry1/08-disabled-dates-4-click-to-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-calendar-range-c-47c90--disabled-dates-in-calendar-webkit-retry1/08-disabled-dates-4-click-to-diff.png
Call log:
- expect.toHaveScreenshot(08-disabled-dates-4-click-to.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c2476019924="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 34358 pixels (ratio 0.05 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c2476019924="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 34358 pixels (ratio 0.05 of all image pixels) are different.
113 | await page.mouse.click(100, 100); // clear focus
114 |
> 115 | await expect(example).toHaveScreenshot('08-disabled-dates-4-click-to.png');
| ^
116 |
117 | await getCells().nth(0).click();
118 | await page.mouse.click(100, 100); // clear focus
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/calendar-range/calendar-range.pw.spec.ts:115:35
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/calendar-range/calendar-range.pw.spec.ts#L115
1) [webkit] › tests/kit/calendar-range/calendar-range.pw.spec.ts:96:13 › CalendarRange › API › Dont allow to select disabled dates in calendar
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
34358 pixels (ratio 0.05 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/calendar-range/calendar-range.pw.spec.ts-snapshots/08-disabled-dates-4-click-to-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-calendar-range-c-47c90--disabled-dates-in-calendar-webkit-retry2/08-disabled-dates-4-click-to-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-calendar-range-c-47c90--disabled-dates-in-calendar-webkit-retry2/08-disabled-dates-4-click-to-diff.png
Call log:
- expect.toHaveScreenshot(08-disabled-dates-4-click-to.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c2476019924="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 34358 pixels (ratio 0.05 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c2476019924="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 34358 pixels (ratio 0.05 of all image pixels) are different.
113 | await page.mouse.click(100, 100); // clear focus
114 |
> 115 | await expect(example).toHaveScreenshot('08-disabled-dates-4-click-to.png');
| ^
116 |
117 | await getCells().nth(0).click();
118 | await page.mouse.click(100, 100); // clear focus
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/calendar-range/calendar-range.pw.spec.ts:115:35
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/carousel/carousel.pw.spec.ts#L44
2) [webkit] › tests/kit/carousel/carousel.pw.spec.ts:32:9 › Carousel › should show next item after drag
Error: expect(locator).toHaveScreenshot(expected)
764 pixels (ratio 0.01 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/carousel/carousel.pw.spec.ts-snapshots/carousel-draggable-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-carousel-carouse-a7c3c-d-show-next-item-after-drag-webkit/carousel-draggable-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-carousel-carouse-a7c3c-d-show-next-item-after-drag-webkit/carousel-draggable-diff.png
Call log:
- expect.toHaveScreenshot(carousel-draggable.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c2476019924="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 764 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-ng-c2476019924="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 764 pixels (ratio 0.01 of all image pixels) are different.
42 | await page.waitForTimeout(1000);
43 |
> 44 | await expect(document.apiPageExample).toHaveScreenshot('carousel-draggable.png');
| ^
45 | });
46 | });
47 |
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/carousel/carousel.pw.spec.ts:44:47
|
Run screenshot tests on dist/demo/browser/main
Process completed with exit code 1.
|
Mac OS X building all dependencies
pkgconf 2.3.0_1 is already installed and up-to-date.
To reinstall 2.3.0_1, run:
brew reinstall pkgconf
|
Mac OS X building all dependencies
cairo 1.18.2 is already installed and up-to-date.
To reinstall 1.18.2, run:
brew reinstall cairo
|
Mac OS X building all dependencies
libpng 1.6.44 is already installed and up-to-date.
To reinstall 1.6.44, run:
brew reinstall libpng
|
Mac OS X building all dependencies
jpeg-turbo 3.1.0 is already installed and up-to-date.
To reinstall 3.1.0, run:
brew reinstall jpeg-turbo
|
Mac OS X building all dependencies
giflib 5.2.2 is already installed and up-to-date.
To reinstall 5.2.2, run:
brew reinstall giflib
|
Run screenshot tests on dist/demo/browser/main
1 failed
[webkit] › tests/kit/calendar-range/calendar-range.pw.spec.ts:96:13 › CalendarRange › API › Dont allow to select disabled dates in calendar
1 flaky
[webkit] › tests/kit/carousel/carousel.pw.spec.ts:32:9 › Carousel › should show next item after drag
17 skipped
91 passed (2.1m)
|
Run screenshot tests on dist/demo/browser
17 skipped
93 passed (2.3m)
|
Loading