fix(kit): InputDateRange
should not distinguish ranges with same dates and different names
#9436
Annotations
5 errors, 10 warnings, and 8 notices
[chromium] › tests/kit/input-date-range/input-date-range.spec.ts:166:13 › InputDateRange › Examples › Select second same range => after close/open calendar displays selected period displays correctly:
projects/demo-playwright/tests/kit/input-date-range/input-date-range.spec.ts#L180
1) [chromium] › tests/kit/input-date-range/input-date-range.spec.ts:166:13 › InputDateRange › Examples › Select second same range => after close/open calendar displays selected period displays correctly
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('#custom-period [automation-id="tui-doc-example"]').locator('tui-input-date-range').getByRole('textbox')
Expected string: "Yet another yesterday"
Received string: ""
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('#custom-period [automation-id="tui-doc-example"]').locator('tui-input-date-range').getByRole('textbox')
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
178 | expect(await inputDateRange.itemHasCheckmark(2)).toBeTruthy();
179 |
> 180 | await expect(inputDateRange.textfield).toHaveValue('Yet another yesterday');
| ^
181 | await expect(inputDateRange.calendarRange).toHaveScreenshot(
182 | '08-calendar-correct-selected-period-after-close-open.png',
183 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-date-range/input-date-range.spec.ts:180:52
|
[chromium] › tests/kit/input-date-range/input-date-range.spec.ts:166:13 › InputDateRange › Examples › Select second same range => after close/open calendar displays selected period displays correctly:
projects/demo-playwright/tests/kit/input-date-range/input-date-range.spec.ts#L180
1) [chromium] › tests/kit/input-date-range/input-date-range.spec.ts:166:13 › InputDateRange › Examples › Select second same range => after close/open calendar displays selected period displays correctly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('#custom-period [automation-id="tui-doc-example"]').locator('tui-input-date-range').getByRole('textbox')
Expected string: "Yet another yesterday"
Received string: ""
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('#custom-period [automation-id="tui-doc-example"]').locator('tui-input-date-range').getByRole('textbox')
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
- locator resolved to <input tabindex="0" placeholder="" tuimaskaccessor="" a…/>
- unexpected value ""
178 | expect(await inputDateRange.itemHasCheckmark(2)).toBeTruthy();
179 |
> 180 | await expect(inputDateRange.textfield).toHaveValue('Yet another yesterday');
| ^
181 | await expect(inputDateRange.calendarRange).toHaveScreenshot(
182 | '08-calendar-correct-selected-period-after-close-open.png',
183 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-date-range/input-date-range.spec.ts:180:52
|
playwright / (3 of 4)
Process completed with exit code 1.
|
E2E result
Unable to find an artifact with the name: playwright-e2e-artifacts--bd52314a31e941c86a821b322beba4b97fee4d94-9695915682-7932
|
E2E result
Process completed with exit code 1.
|
Build demo
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
playwright / (1 of 4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
playwright / (4 of 4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
playwright / (3 of 4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
playwright / (2 of 4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
deep
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
core
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
kit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
E2E result
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/.
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "cypress-e2e-artifacts--bd52314a31e941c86a821b322beba4b97fee4d94-9695915682-7932".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
🎭 Playwright Run Summary
92 passed (1.3m)
|
🎭 Playwright Run Summary
92 passed (1.1m)
|
🎭 Playwright Run Summary
91 passed (1.2m)
|
🎭 Playwright Run Summary
91 passed (1.3m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › tests/kit/input-date-range/input-date-range.spec.ts:166:13 › InputDateRange › Examples › Select second same range => after close/open calendar displays selected period displays correctly
91 passed (1.3m)
|
🎭 Playwright Run Summary
92 passed (1.7m)
|
🎭 Playwright Run Summary
92 passed (1.8m)
|
🎭 Playwright Run Summary
92 passed (1.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
cypress-e2e-artifacts--bd52314a31e941c86a821b322beba4b97fee4d94-9695915682-7932
Expired
|
439 KB |
|