fix(kit): InputDateTime
should format textfield value on blur
#9400
Annotations
5 errors, 10 warnings, and 8 notices
[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:
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
|
[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:
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
|
playwright / (3 of 4)
Process completed with exit code 1.
|
E2E result
Unable to find an artifact with the name: playwright-e2e-artifacts--7cc43da8155f338846ace7141b45fb98d96bb8b3-9414455335-7659
|
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 / (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/.
|
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/.
|
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--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/
|
🎭 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.4m)
|
🎭 Playwright Run Summary
91 passed (1.8m)
|
🎭 Playwright Run Summary
91 passed (1.3m)
|
🎭 Playwright Run Summary
1 failed
[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
90 passed (1.3m)
|
🎭 Playwright Run Summary
91 passed (1.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
cypress-e2e-artifacts--7cc43da8155f338846ace7141b45fb98d96bb8b3-9414455335-7659
Expired
|
195 KB |
|