fix(kit): InputDateTime
should format textfield value on blur
#9400
Annotations
3 errors, 2 warnings, and 2 notices
projects/demo-playwright/tests/kit/input-date-time/input-date-time.spec.ts#L159
1) [chromium] › tests/kit/input-date-time/input-date-time.spec.ts:153:13 › InputDateTime › API page › should time to pre-fill with zeros on blur
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('#demo-content').locator('tui-input-date-time').getByRole('textbox')
Expected string: "07.06.2024, 23:59:00.000"
Received string: "07.06.2024, 23:59"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('#demo-content').locator('tui-input-date-time').getByRole('textbox')
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
157 | await inputDateTime.textfield.blur();
158 |
> 159 | await expect(inputDateTime.textfield).toHaveValue('07.06.2024, 23:59:00.000');
| ^
160 | });
161 | });
162 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-date-time/input-date-time.spec.ts:159:51
|
projects/demo-playwright/tests/kit/input-date-time/input-date-time.spec.ts#L159
1) [chromium] › tests/kit/input-date-time/input-date-time.spec.ts:153:13 › InputDateTime › API page › should time to pre-fill with zeros on blur
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('#demo-content').locator('tui-input-date-time').getByRole('textbox')
Expected string: "07.06.2024, 23:59:00.000"
Received string: "07.06.2024, 23:59"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('#demo-content').locator('tui-input-date-time').getByRole('textbox')
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="fa…/>
- unexpected value "07.06.2024, 23:59"
157 | await inputDateTime.textfield.blur();
158 |
> 159 | await expect(inputDateTime.textfield).toHaveValue('07.06.2024, 23:59:00.000');
| ^
160 | });
161 | });
162 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-date-time/input-date-time.spec.ts:159:51
|
|
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/.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "cypress-e2e-artifacts--7cc43da8155f338846ace7141b45fb98d96bb8b3-9414455335-7659".
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/
|
|
|
This job succeeded
Loading