fix(kit): InputDate
hold initial value with min/max defined
#10354
Annotations
8 errors, 10 warnings, and 8 notices
[chromium] › tests/core/dropdown/dropdown.spec.ts:43:9 › Dropdown › Hosted dropdown and custom position:
projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts#L49
1) [chromium] › tests/core/dropdown/dropdown.spec.ts:43:9 › Dropdown › Hosted dropdown and custom position
Error: Screenshot comparison failed:
21231 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/dropdown/dropdown.spec.ts-snapshots/05-dropdown-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdo-00693-ropdown-and-custom-position-chromium/05-dropdown-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdo-00693-ropdown-and-custom-position-chromium/05-dropdown-diff.png
Call log:
- expect.toHaveScreenshot(05-dropdown.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 21231 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 21231 pixels (ratio 0.02 of all image pixels) are different.
47 | .locator('button')
48 | .click();
> 49 | await expect(page).toHaveScreenshot('05-dropdown.png');
| ^
50 | });
51 |
52 | test('Esc -> Hosted Dropdown', async ({page}) => {
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts:49:28
|
[chromium] › tests/core/dropdown/dropdown.spec.ts:43:9 › Dropdown › Hosted dropdown and custom position:
projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts#L49
1) [chromium] › tests/core/dropdown/dropdown.spec.ts:43:9 › Dropdown › Hosted dropdown and custom position
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
194643 pixels (ratio 0.10 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/dropdown/dropdown.spec.ts-snapshots/05-dropdown-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdo-00693-ropdown-and-custom-position-chromium-retry1/05-dropdown-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdo-00693-ropdown-and-custom-position-chromium-retry1/05-dropdown-diff.png
Call log:
- expect.toHaveScreenshot(05-dropdown.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 194643 pixels (ratio 0.10 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 194643 pixels (ratio 0.10 of all image pixels) are different.
47 | .locator('button')
48 | .click();
> 49 | await expect(page).toHaveScreenshot('05-dropdown.png');
| ^
50 | });
51 |
52 | test('Esc -> Hosted Dropdown', async ({page}) => {
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts:49:28
|
playwright / (1 of 4)
Process completed with exit code 1.
|
[chromium] › tests/kit/input-date/input-date.spec.ts:62:13 › InputDate › API › Press backspace to remove `Until today`:
projects/demo-playwright/tests/kit/input-date/input-date.spec.ts#L73
1) [chromium] › tests/kit/input-date/input-date.spec.ts:62:13 › InputDate › API › Press backspace to remove `Until today`, textfield is empty
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('#demo-content').locator('tui-input-date').getByRole('textbox')
Expected string: ""
Received string: "01.01.0000"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
71 | await inputDate.textfield.press('Backspace');
72 |
> 73 | await expect(inputDate.textfield).toHaveValue('');
| ^
74 | await expect(inputDate.textfield).toHaveScreenshot(
75 | '03-input-date-textfield-empty.png',
76 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-date/input-date.spec.ts:73:47
|
[chromium] › tests/kit/input-date/input-date.spec.ts:62:13 › InputDate › API › Press backspace to remove `Until today`:
projects/demo-playwright/tests/kit/input-date/input-date.spec.ts#L73
1) [chromium] › tests/kit/input-date/input-date.spec.ts:62:13 › InputDate › API › Press backspace to remove `Until today`, textfield is empty
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: locator('#demo-content').locator('tui-input-date').getByRole('textbox')
Expected string: ""
Received string: "01.01.0000"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
- locator resolved to <input tabindex="0" tuimaskaccessor="" aria-invalid="false" _ngcontent-tui-demo-c171="" id="tui_interactive_561601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- unexpected value "01.01.0000"
71 | await inputDate.textfield.press('Backspace');
72 |
> 73 | await expect(inputDate.textfield).toHaveValue('');
| ^
74 | await expect(inputDate.textfield).toHaveScreenshot(
75 | '03-input-date-textfield-empty.png',
76 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-date/input-date.spec.ts:73:47
|
playwright / (3 of 4)
Process completed with exit code 1.
|
kit
Process completed with exit code 1.
|
E2E result
Process completed with exit code 1.
|
Build demo
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected], actions/cache/[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/
|
playwright / (1 of 4)
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/
|
playwright / (3 of 4)
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/
|
playwright / (2 of 4)
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/
|
playwright / (4 of 4)
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/
|
deep
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/
|
core
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/
|
kit
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/
|
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--e44dbf1a50485a7e8471853f9b533158825fa3b3-11651468899-9623", "playwright-e2e-artifacts--e44dbf1a50485a7e8471853f9b533158825fa3b3-11651468899-9623".
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/
|
E2E result
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
|
🎭 Playwright Run Summary
94 passed (1.3m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › tests/core/dropdown/dropdown.spec.ts:43:9 › Dropdown › Hosted dropdown and custom position
93 passed (1.2m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › tests/kit/input-date/input-date.spec.ts:62:13 › InputDate › API › Press backspace to remove `Until today`, textfield is empty
92 passed (1.2m)
|
🎭 Playwright Run Summary
93 passed (1.4m)
|
🎭 Playwright Run Summary
94 passed (1.6m)
|
🎭 Playwright Run Summary
94 passed (1.3m)
|
🎭 Playwright Run Summary
93 passed (1.2m)
|
🎭 Playwright Run Summary
93 passed (1.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
cypress-e2e-artifacts--e44dbf1a50485a7e8471853f9b533158825fa3b3-11651468899-9623
Expired
|
243 KB |
|
playwright-e2e-artifacts--e44dbf1a50485a7e8471853f9b533158825fa3b3-11651468899-9623
Expired
|
519 KB |
|