feat(experimental): InputPhoneInternational
refactor to new textfield approach
#11053
Annotations
10 errors, 5 warnings, and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts#L83
1) [webkit] › tests/legacy/input-date/input-date.pw.spec.ts:62:17 › InputDate › Examples › with `input[tuiTextfieldLegacy]` inside › filler has no change detection problems
Error: expect(locator).toHaveScreenshot(expected)
15516 pixels (ratio 0.24 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/input-date/input-date.pw.spec.ts-snapshots/14-backspace-pressed-1-times-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-680f8-o-change-detection-problems-webkit/14-backspace-pressed-1-times-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-680f8-o-change-detection-problems-webkit/14-backspace-pressed-1-times-diff.png
Call log:
- expect.toHaveScreenshot(14-backspace-pressed-1-times.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#date-localization [automation-id="tui-doc-example"]').locator('tui-input-date')
- locator resolved to <tui-input-date data-size="l" _nghost-ng-c2818982625="" class="ng-untouched ng-valid _focused ng-dirty">…</tui-input-date>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 15516 pixels (ratio 0.24 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#date-localization [automation-id="tui-doc-example"]').locator('tui-input-date')
- locator resolved to <tui-input-date data-size="l" _nghost-ng-c2818982625="" class="ng-untouched ng-valid _focused ng-dirty">…</tui-input-date>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 15516 pixels (ratio 0.24 of all image pixels) are different.
81 | await inputDate.textfield.press('Backspace');
82 |
> 83 | await expect(inputDate.host).toHaveScreenshot(
| ^
84 | `14-backspace-pressed-${i}-times.png`,
85 | );
86 | }
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts:83:50
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts#L83
1) [webkit] › tests/legacy/input-date/input-date.pw.spec.ts:62:17 › InputDate › Examples › with `input[tuiTextfieldLegacy]` inside › filler has no change detection problems
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
15516 pixels (ratio 0.24 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/input-date/input-date.pw.spec.ts-snapshots/14-backspace-pressed-1-times-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-680f8-o-change-detection-problems-webkit-retry1/14-backspace-pressed-1-times-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-680f8-o-change-detection-problems-webkit-retry1/14-backspace-pressed-1-times-diff.png
Call log:
- expect.toHaveScreenshot(14-backspace-pressed-1-times.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#date-localization [automation-id="tui-doc-example"]').locator('tui-input-date')
- locator resolved to <tui-input-date data-size="l" _nghost-ng-c2818982625="" class="ng-untouched ng-valid _focused ng-dirty">…</tui-input-date>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 15516 pixels (ratio 0.24 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#date-localization [automation-id="tui-doc-example"]').locator('tui-input-date')
- locator resolved to <tui-input-date data-size="l" _nghost-ng-c2818982625="" class="ng-untouched ng-valid _focused ng-dirty">…</tui-input-date>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 15516 pixels (ratio 0.24 of all image pixels) are different.
81 | await inputDate.textfield.press('Backspace');
82 |
> 83 | await expect(inputDate.host).toHaveScreenshot(
| ^
84 | `14-backspace-pressed-${i}-times.png`,
85 | );
86 | }
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts:83:50
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts#L83
1) [webkit] › tests/legacy/input-date/input-date.pw.spec.ts:62:17 › InputDate › Examples › with `input[tuiTextfieldLegacy]` inside › filler has no change detection problems
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
15516 pixels (ratio 0.24 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/input-date/input-date.pw.spec.ts-snapshots/14-backspace-pressed-1-times-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-680f8-o-change-detection-problems-webkit-retry2/14-backspace-pressed-1-times-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-680f8-o-change-detection-problems-webkit-retry2/14-backspace-pressed-1-times-diff.png
Call log:
- expect.toHaveScreenshot(14-backspace-pressed-1-times.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#date-localization [automation-id="tui-doc-example"]').locator('tui-input-date')
- locator resolved to <tui-input-date data-size="l" _nghost-ng-c2818982625="" class="ng-untouched ng-valid _focused ng-dirty">…</tui-input-date>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 15516 pixels (ratio 0.24 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#date-localization [automation-id="tui-doc-example"]').locator('tui-input-date')
- locator resolved to <tui-input-date data-size="l" _nghost-ng-c2818982625="" class="ng-untouched ng-valid _focused ng-dirty">…</tui-input-date>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 15516 pixels (ratio 0.24 of all image pixels) are different.
81 | await inputDate.textfield.press('Backspace');
82 |
> 83 | await expect(inputDate.host).toHaveScreenshot(
| ^
84 | `14-backspace-pressed-${i}-times.png`,
85 | );
86 | }
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts:83:50
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts#L167
2) [webkit] › tests/legacy/input-date/input-date.pw.spec.ts:159:17 › InputDate › API › Invalid date cases › does not accept day > 31
Error: expect(locator).toHaveScreenshot(expected)
15312 pixels (ratio 0.21 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/input-date/input-date.pw.spec.ts-snapshots/05-input-date-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-2ed4b-ases-does-not-accept-day-31-webkit/05-input-date-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-2ed4b-ases-does-not-accept-day-31-webkit/05-input-date-diff.png
Call log:
- expect.toHaveScreenshot(05-input-date.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" aria-invalid="false" _ngcontent-ng-c3831396199="" id="tui_interactive_491601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 15312 pixels (ratio 0.21 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" aria-invalid="false" _ngcontent-ng-c3831396199="" id="tui_interactive_491601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 15312 pixels (ratio 0.21 of all image pixels) are different.
165 | await expect(inputDate.textfield).toHaveJSProperty('selectionStart', 1);
166 | await expect(inputDate.textfield).toHaveJSProperty('selectionEnd', 1);
> 167 | await expect(inputDate.textfield).toHaveScreenshot('05-input-date.png');
| ^
168 | });
169 |
170 | test('does not accept month > 12', async ({page}) => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts:167:51
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts#L167
2) [webkit] › tests/legacy/input-date/input-date.pw.spec.ts:159:17 › InputDate › API › Invalid date cases › does not accept day > 31
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
15312 pixels (ratio 0.21 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/input-date/input-date.pw.spec.ts-snapshots/05-input-date-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-2ed4b-ases-does-not-accept-day-31-webkit-retry1/05-input-date-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-2ed4b-ases-does-not-accept-day-31-webkit-retry1/05-input-date-diff.png
Call log:
- expect.toHaveScreenshot(05-input-date.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" aria-invalid="false" _ngcontent-ng-c3831396199="" id="tui_interactive_491601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 15312 pixels (ratio 0.21 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" aria-invalid="false" _ngcontent-ng-c3831396199="" id="tui_interactive_491601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 15312 pixels (ratio 0.21 of all image pixels) are different.
165 | await expect(inputDate.textfield).toHaveJSProperty('selectionStart', 1);
166 | await expect(inputDate.textfield).toHaveJSProperty('selectionEnd', 1);
> 167 | await expect(inputDate.textfield).toHaveScreenshot('05-input-date.png');
| ^
168 | });
169 |
170 | test('does not accept month > 12', async ({page}) => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts:167:51
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts#L167
2) [webkit] › tests/legacy/input-date/input-date.pw.spec.ts:159:17 › InputDate › API › Invalid date cases › does not accept day > 31
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
15312 pixels (ratio 0.21 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/input-date/input-date.pw.spec.ts-snapshots/05-input-date-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-2ed4b-ases-does-not-accept-day-31-webkit-retry2/05-input-date-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-2ed4b-ases-does-not-accept-day-31-webkit-retry2/05-input-date-diff.png
Call log:
- expect.toHaveScreenshot(05-input-date.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" aria-invalid="false" _ngcontent-ng-c3831396199="" id="tui_interactive_491601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 15312 pixels (ratio 0.21 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" aria-invalid="false" _ngcontent-ng-c3831396199="" id="tui_interactive_491601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 15312 pixels (ratio 0.21 of all image pixels) are different.
165 | await expect(inputDate.textfield).toHaveJSProperty('selectionStart', 1);
166 | await expect(inputDate.textfield).toHaveJSProperty('selectionEnd', 1);
> 167 | await expect(inputDate.textfield).toHaveScreenshot('05-input-date.png');
| ^
168 | });
169 |
170 | test('does not accept month > 12', async ({page}) => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts:167:51
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts#L184
3) [webkit] › tests/legacy/input-date/input-date.pw.spec.ts:170:17 › InputDate › API › Invalid date cases › does not accept month > 12
Error: expect(locator).toHaveScreenshot(expected)
15312 pixels (ratio 0.21 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/input-date/input-date.pw.spec.ts-snapshots/06-input-date-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-3057b-es-does-not-accept-month-12-webkit/06-input-date-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-3057b-es-does-not-accept-month-12-webkit/06-input-date-diff.png
Call log:
- expect.toHaveScreenshot(06-input-date.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" aria-invalid="false" _ngcontent-ng-c3831396199="" id="tui_interactive_491601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 15312 pixels (ratio 0.21 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" aria-invalid="false" _ngcontent-ng-c3831396199="" id="tui_interactive_491601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 15312 pixels (ratio 0.21 of all image pixels) are different.
182 | '17.1'.length,
183 | );
> 184 | await expect(inputDate.textfield).toHaveScreenshot('06-input-date.png');
| ^
185 | });
186 |
187 | test('Type 999999 => 09.09.9999', async ({page}) => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts:184:51
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts#L184
3) [webkit] › tests/legacy/input-date/input-date.pw.spec.ts:170:17 › InputDate › API › Invalid date cases › does not accept month > 12
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
15312 pixels (ratio 0.21 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/input-date/input-date.pw.spec.ts-snapshots/06-input-date-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-3057b-es-does-not-accept-month-12-webkit-retry1/06-input-date-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-3057b-es-does-not-accept-month-12-webkit-retry1/06-input-date-diff.png
Call log:
- expect.toHaveScreenshot(06-input-date.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" aria-invalid="false" _ngcontent-ng-c3831396199="" id="tui_interactive_491601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 15312 pixels (ratio 0.21 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" aria-invalid="false" _ngcontent-ng-c3831396199="" id="tui_interactive_491601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 15312 pixels (ratio 0.21 of all image pixels) are different.
182 | '17.1'.length,
183 | );
> 184 | await expect(inputDate.textfield).toHaveScreenshot('06-input-date.png');
| ^
185 | });
186 |
187 | test('Type 999999 => 09.09.9999', async ({page}) => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts:184:51
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts#L184
3) [webkit] › tests/legacy/input-date/input-date.pw.spec.ts:170:17 › InputDate › API › Invalid date cases › does not accept month > 12
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
15312 pixels (ratio 0.21 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/input-date/input-date.pw.spec.ts-snapshots/06-input-date-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-3057b-es-does-not-accept-month-12-webkit-retry2/06-input-date-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-3057b-es-does-not-accept-month-12-webkit-retry2/06-input-date-diff.png
Call log:
- expect.toHaveScreenshot(06-input-date.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" aria-invalid="false" _ngcontent-ng-c3831396199="" id="tui_interactive_491601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 15312 pixels (ratio 0.21 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" aria-invalid="false" _ngcontent-ng-c3831396199="" id="tui_interactive_491601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 15312 pixels (ratio 0.21 of all image pixels) are different.
182 | '17.1'.length,
183 | );
> 184 | await expect(inputDate.textfield).toHaveScreenshot('06-input-date.png');
| ^
185 | });
186 |
187 | test('Type 999999 => 09.09.9999', async ({page}) => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts:184:51
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts#L201
4) [webkit] › tests/legacy/input-date/input-date.pw.spec.ts:187:17 › InputDate › API › Invalid date cases › Type 999999 => 09.09.9999
Error: expect(locator).toHaveScreenshot(expected)
15312 pixels (ratio 0.21 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/input-date/input-date.pw.spec.ts-snapshots/07-input-date-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-f2781-ases-Type-999999-09-09-9999-webkit/07-input-date-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-date-in-f2781-ases-Type-999999-09-09-9999-webkit/07-input-date-diff.png
Call log:
- expect.toHaveScreenshot(07-input-date.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" aria-invalid="false" _ngcontent-ng-c3831396199="" id="tui_interactive_491601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 15312 pixels (ratio 0.21 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content').locator('tui-input-date').getByRole('textbox')
- locator resolved to <input tabindex="0" aria-invalid="false" _ngcontent-ng-c3831396199="" id="tui_interactive_491601061540000" class="t-input ng-untouched ng-valid ng-dirty" automation-id="tui-primitive-textfield__native-input"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 15312 pixels (ratio 0.21 of all image pixels) are different.
199 | '09.09.9999'.length,
200 | );
> 201 | await expect(inputDate.textfield).toHaveScreenshot('07-input-date.png');
| ^
202 | });
203 | });
204 |
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-date/input-date.pw.spec.ts:201:51
|
Mac OS X building all dependencies
pkgconf 2.3.0_1 is already installed and up-to-date.
To reinstall 2.3.0_1, run:
brew reinstall pkgconf
|
Mac OS X building all dependencies
cairo 1.18.2 is already installed and up-to-date.
To reinstall 1.18.2, run:
brew reinstall cairo
|
Mac OS X building all dependencies
libpng 1.6.44 is already installed and up-to-date.
To reinstall 1.6.44, run:
brew reinstall libpng
|
Mac OS X building all dependencies
jpeg-turbo 3.0.4 is already installed and up-to-date.
To reinstall 3.0.4, run:
brew reinstall jpeg-turbo
|
Mac OS X building all dependencies
giflib 5.2.2 is already installed and up-to-date.
To reinstall 5.2.2, run:
brew reinstall giflib
|
Run screenshot tests on dist/demo/browser
5 skipped
104 passed (3.4m)
|
Run screenshot tests on dist/demo/browser/main
7 failed
[webkit] › tests/legacy/input-date/input-date.pw.spec.ts:62:17 › InputDate › Examples › with `input[tuiTextfieldLegacy]` inside › filler has no change detection problems
[webkit] › tests/legacy/input-date/input-date.pw.spec.ts:159:17 › InputDate › API › Invalid date cases › does not accept day > 31
[webkit] › tests/legacy/input-date/input-date.pw.spec.ts:170:17 › InputDate › API › Invalid date cases › does not accept month > 12
[webkit] › tests/legacy/input-date/input-date.pw.spec.ts:187:17 › InputDate › API › Invalid date cases › Type 999999 => 09.09.9999
[webkit] › tests/legacy/input-date/input-date.pw.spec.ts:233:13 › InputDate › API › Press backspace to remove `Until today`, textfield is empty
[webkit] › tests/legacy/input-date-range/input-date-range.pw.spec.ts:296:17 › InputDateRange › Examples › with `input[tuiTextfieldLegacy]` inside › filler has no change detection problems
[webkit] › tests/legacy/input-date-time/input-date-time.pw.spec.ts:341:17 › InputDateTime › Examples › with `input[tuiTextfieldLegacy]` inside › filler has no change detection problems
2 flaky
[webkit] › tests/legacy/input-date-range/input-date-range.pw.spec.ts:210:13 › InputDateRange › API › Press backspace to remove item, textfield is empty
[webkit] › tests/legacy/input-date-range/input-date-range.pw.spec.ts:225:13 › InputDateRange › API › Enter item date, it converts to item name
5 skipped
95 passed (3.3m)
|
Loading