feat(kit): prevent disabled days selection for calendar-range #9567
Annotations
3 errors, 1 warning, and 2 notices
projects/demo-playwright/tests/kit/input-date-range/input-date-range.spec.ts#L190
1) [chromium] › tests/kit/input-date-range/input-date-range.spec.ts:164:13 › InputDateRange › API › Prevent selection of range with disabled days
Error: expect(received).toHaveLength(expected)
Expected length: 2
Received length: 41
Received array: [null, null, null, null, "hover", null, null, null, null, null, …]
188 | expect(
189 | (await getDaysState()).filter(state => state !== 'disabled'),
> 190 | ).toHaveLength(2);
| ^
191 | });
192 | });
193 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-date-range/input-date-range.spec.ts:190:15
|
projects/demo-playwright/tests/kit/input-date-range/input-date-range.spec.ts#L190
1) [chromium] › tests/kit/input-date-range/input-date-range.spec.ts:164:13 › InputDateRange › API › Prevent selection of range with disabled days
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveLength(expected)
Expected length: 2
Received length: 41
Received array: [null, null, null, null, "hover", null, null, null, null, null, …]
188 | expect(
189 | (await getDaysState()).filter(state => state !== 'disabled'),
> 190 | ).toHaveLength(2);
| ^
191 | });
192 | });
193 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-date-range/input-date-range.spec.ts:190:15
|
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
|
|
This job succeeded
Loading