fix(kit): correct present of control value from items list for input-time #9528
Annotations
10 errors, 2 warnings, and 2 notices
projects/demo-playwright/tests/kit/input-time/input-time.spec.ts#L60
1) [chromium] › tests/kit/input-time/input-time.spec.ts:54:17 › InputTime › API › the input is configured for HH:MM:SS mode
Error: Screenshot comparison failed:
154 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/input-time/input-time.spec.ts-snapshots/time-mode-HH-MM-SS-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-the-input-is-configured-for-HH-MM-SS-mode-chromium/time-mode-HH-MM-SS-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-the-input-is-configured-for-HH-MM-SS-mode-chromium/time-mode-HH-MM-SS-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" class="t-content" _ngcontent-t…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 154 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" class="t-content" _ngcontent-t…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 154 pixels (ratio 0.01 of all image pixels) are different.
58 |
59 | await inputTime.textfield.click();
> 60 | await expect(apiPageExample).toHaveScreenshot(`time_mode_${mode}.png`);
| ^
61 | });
62 | });
63 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-time/input-time.spec.ts:60:46
|
projects/demo-playwright/tests/kit/input-time/input-time.spec.ts#L60
1) [chromium] › tests/kit/input-time/input-time.spec.ts:54:17 › InputTime › API › the input is configured for HH:MM:SS mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
154 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/input-time/input-time.spec.ts-snapshots/time-mode-HH-MM-SS-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-the-input-is-configured-for-HH-MM-SS-mode-chromium-retry1/time-mode-HH-MM-SS-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-the-input-is-configured-for-HH-MM-SS-mode-chromium-retry1/time-mode-HH-MM-SS-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" class="t-content" _ngcontent-t…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 154 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" class="t-content" _ngcontent-t…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 154 pixels (ratio 0.01 of all image pixels) are different.
58 |
59 | await inputTime.textfield.click();
> 60 | await expect(apiPageExample).toHaveScreenshot(`time_mode_${mode}.png`);
| ^
61 | });
62 | });
63 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-time/input-time.spec.ts:60:46
|
projects/demo-playwright/tests/kit/input-time/input-time.spec.ts#L60
2) [chromium] › tests/kit/input-time/input-time.spec.ts:54:17 › InputTime › API › the input is configured for HH:MM:SS.MSS mode
Error: Screenshot comparison failed:
599 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/input-time/input-time.spec.ts-snapshots/time-mode-HH-MM-SS-MSS-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-the-input-is-configured-for-HH-MM-SS-MSS-mode-chromium/time-mode-HH-MM-SS-MSS-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-the-input-is-configured-for-HH-MM-SS-MSS-mode-chromium/time-mode-HH-MM-SS-MSS-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" class="t-content" _ngcontent-t…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 599 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" class="t-content" _ngcontent-t…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 599 pixels (ratio 0.01 of all image pixels) are different.
58 |
59 | await inputTime.textfield.click();
> 60 | await expect(apiPageExample).toHaveScreenshot(`time_mode_${mode}.png`);
| ^
61 | });
62 | });
63 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-time/input-time.spec.ts:60:46
|
projects/demo-playwright/tests/kit/input-time/input-time.spec.ts#L60
2) [chromium] › tests/kit/input-time/input-time.spec.ts:54:17 › InputTime › API › the input is configured for HH:MM:SS.MSS mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
599 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/input-time/input-time.spec.ts-snapshots/time-mode-HH-MM-SS-MSS-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-the-input-is-configured-for-HH-MM-SS-MSS-mode-chromium-retry1/time-mode-HH-MM-SS-MSS-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-the-input-is-configured-for-HH-MM-SS-MSS-mode-chromium-retry1/time-mode-HH-MM-SS-MSS-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" class="t-content" _ngcontent-t…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 599 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" class="t-content" _ngcontent-t…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 599 pixels (ratio 0.01 of all image pixels) are different.
58 |
59 | await inputTime.textfield.click();
> 60 | await expect(apiPageExample).toHaveScreenshot(`time_mode_${mode}.png`);
| ^
61 | });
62 | });
63 |
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-time/input-time.spec.ts:60:46
|
projects/demo-playwright/tests/kit/input-time/input-time.spec.ts#L71
3) [chromium] › tests/kit/input-time/input-time.spec.ts:65:17 › InputTime › API › items are passed › the dropdown is visible when the input is focused
Error: Screenshot comparison failed:
2438 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/input-time/input-time.spec.ts-snapshots/dropdown-is-visible-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API--4218c-e-dropdown-is-visible-when-the-input-is-focused-chromium/dropdown-is-visible-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API--4218c-e-dropdown-is-visible-when-the-input-is-focused-chromium/dropdown-is-visible-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-tui-demo-c105="" clas…>…</tui-dropdown>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 2438 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-tui-demo-c105="" clas…>…</tui-dropdown>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 2438 pixels (ratio 0.01 of all image pixels) are different.
69 |
70 | await inputTime.textfield.click();
> 71 | await expect(inputTime.dropdown).toHaveScreenshot(
| ^
72 | 'dropdown_is_visible.png',
73 | );
74 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-time/input-time.spec.ts:71:50
|
projects/demo-playwright/tests/kit/input-time/input-time.spec.ts#L71
3) [chromium] › tests/kit/input-time/input-time.spec.ts:65:17 › InputTime › API › items are passed › the dropdown is visible when the input is focused
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
2438 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/input-time/input-time.spec.ts-snapshots/dropdown-is-visible-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API--4218c-e-dropdown-is-visible-when-the-input-is-focused-chromium-retry1/dropdown-is-visible-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API--4218c-e-dropdown-is-visible-when-the-input-is-focused-chromium-retry1/dropdown-is-visible-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-tui-demo-c105="" clas…>…</tui-dropdown>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 2438 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-tui-demo-c105="" clas…>…</tui-dropdown>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 2438 pixels (ratio 0.01 of all image pixels) are different.
69 |
70 | await inputTime.textfield.click();
> 71 | await expect(inputTime.dropdown).toHaveScreenshot(
| ^
72 | 'dropdown_is_visible.png',
73 | );
74 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-time/input-time.spec.ts:71:50
|
projects/demo-playwright/tests/kit/input-time/input-time.spec.ts#L107
4) [chromium] › tests/kit/input-time/input-time.spec.ts:96:21 › InputTime › API › items are passed › the dropdown is configured for s size
Error: Screenshot comparison failed:
2485 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/input-time/input-time.spec.ts-snapshots/dropdown-size-s-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-items-are-passed-the-dropdown-is-configured-for-s-size-chromium/dropdown-size-s-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-items-are-passed-the-dropdown-is-configured-for-s-size-chromium/dropdown-size-s-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-tui-demo-c105="" clas…>…</tui-dropdown>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 2485 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-tui-demo-c105="" clas…>…</tui-dropdown>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 2485 pixels (ratio 0.01 of all image pixels) are different.
105 | await inputTime.textfield.click();
106 |
> 107 | await expect(inputTime.dropdown).toHaveScreenshot(
| ^
108 | `dropdown_size_${size}.png`,
109 | );
110 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-time/input-time.spec.ts:107:54
|
projects/demo-playwright/tests/kit/input-time/input-time.spec.ts#L107
4) [chromium] › tests/kit/input-time/input-time.spec.ts:96:21 › InputTime › API › items are passed › the dropdown is configured for s size
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
2485 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/input-time/input-time.spec.ts-snapshots/dropdown-size-s-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-items-are-passed-the-dropdown-is-configured-for-s-size-chromium-retry1/dropdown-size-s-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-items-are-passed-the-dropdown-is-configured-for-s-size-chromium-retry1/dropdown-size-s-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-tui-demo-c105="" clas…>…</tui-dropdown>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 2485 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-tui-demo-c105="" clas…>…</tui-dropdown>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 2485 pixels (ratio 0.01 of all image pixels) are different.
105 | await inputTime.textfield.click();
106 |
> 107 | await expect(inputTime.dropdown).toHaveScreenshot(
| ^
108 | `dropdown_size_${size}.png`,
109 | );
110 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-time/input-time.spec.ts:107:54
|
projects/demo-playwright/tests/kit/input-time/input-time.spec.ts#L107
5) [chromium] › tests/kit/input-time/input-time.spec.ts:96:21 › InputTime › API › items are passed › the dropdown is configured for m size
Error: Screenshot comparison failed:
2438 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/input-time/input-time.spec.ts-snapshots/dropdown-size-m-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-items-are-passed-the-dropdown-is-configured-for-m-size-chromium/dropdown-size-m-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-items-are-passed-the-dropdown-is-configured-for-m-size-chromium/dropdown-size-m-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-tui-demo-c105="" clas…>…</tui-dropdown>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 2438 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-tui-demo-c105="" clas…>…</tui-dropdown>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 2438 pixels (ratio 0.01 of all image pixels) are different.
105 | await inputTime.textfield.click();
106 |
> 107 | await expect(inputTime.dropdown).toHaveScreenshot(
| ^
108 | `dropdown_size_${size}.png`,
109 | );
110 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-time/input-time.spec.ts:107:54
|
projects/demo-playwright/tests/kit/input-time/input-time.spec.ts#L107
5) [chromium] › tests/kit/input-time/input-time.spec.ts:96:21 › InputTime › API › items are passed › the dropdown is configured for m size
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
2438 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/input-time/input-time.spec.ts-snapshots/dropdown-size-m-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-items-are-passed-the-dropdown-is-configured-for-m-size-chromium-retry1/dropdown-size-m-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-API-items-are-passed-the-dropdown-is-configured-for-m-size-chromium-retry1/dropdown-size-m-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-tui-demo-c105="" clas…>…</tui-dropdown>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 2438 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-tui-demo-c105="" clas…>…</tui-dropdown>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 2438 pixels (ratio 0.01 of all image pixels) are different.
105 | await inputTime.textfield.click();
106 |
> 107 | await expect(inputTime.dropdown).toHaveScreenshot(
| ^
108 | `dropdown_size_${size}.png`,
109 | );
110 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-time/input-time.spec.ts:107:54
|
The following actions uses Node.js version which is deprecated 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/
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "cypress-e2e-artifacts--29fd68209f0f829b6c656d1bf1045cb0de0de78b-10246463575-8249", "playwright-e2e-artifacts--29fd68209f0f829b6c656d1bf1045cb0de0de78b-10246463575-8249".
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/
|
6 failed
[chromium] › tests/kit/input-time/input-time.spec.ts:54:17 › InputTime › API › the input is configured for HH:MM:SS mode
[chromium] › tests/kit/input-time/input-time.spec.ts:54:17 › InputTime › API › the input is configured for HH:MM:SS.MSS mode
[chromium] › tests/kit/input-time/input-time.spec.ts:65:17 › InputTime › API › items are passed › the dropdown is visible when the input is focused
[chromium] › tests/kit/input-time/input-time.spec.ts:96:21 › InputTime › API › items are passed › the dropdown is configured for s size
[chromium] › tests/kit/input-time/input-time.spec.ts:96:21 › InputTime › API › items are passed › the dropdown is configured for m size
[chromium] › tests/kit/input-time/input-time.spec.ts:96:21 › InputTime › API › items are passed › the dropdown is configured for l size
86 passed (1.4m)
|
|
This job succeeded
Loading