fix(addon-mobile): InputDateRange
+ MobileCalendar
throw error on single date selection
#10017
Annotations
7 errors, 2 warnings, and 2 notices
Run screenshot tests on dist/demo/browser/v3.x:
projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts#L22
1) [chromium] › tests/core/dropdown/dropdown.spec.ts:16:9 › Dropdown › Interesting ───────────────
Error: Screenshot comparison failed:
131990 pixels (ratio 0.07 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/02-dropdown-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Interesting-chromium/02-dropdown-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Interesting-chromium/02-dropdown-diff.png
Call log:
- expect.toHaveScreenshot(02-dropdown.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 131990 pixels (ratio 0.07 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
- 131990 pixels (ratio 0.07 of all image pixels) are different.
20 | .locator('input')
21 | .click();
> 22 | await expect(page).toHaveScreenshot('02-dropdown.png');
| ^
23 | });
24 |
25 | test('Appearance', async ({page}) => {
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts:22:28
|
Run screenshot tests on dist/demo/browser/v3.x:
projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts#L22
1) [chromium] › tests/core/dropdown/dropdown.spec.ts:16:9 › Dropdown › Interesting ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
140000 pixels (ratio 0.07 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/02-dropdown-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Interesting-chromium-retry1/02-dropdown-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Interesting-chromium-retry1/02-dropdown-diff.png
Call log:
- expect.toHaveScreenshot(02-dropdown.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 140000 pixels (ratio 0.07 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
- 140000 pixels (ratio 0.07 of all image pixels) are different.
20 | .locator('input')
21 | .click();
> 22 | await expect(page).toHaveScreenshot('02-dropdown.png');
| ^
23 | });
24 |
25 | test('Appearance', async ({page}) => {
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts:22:28
|
Run screenshot tests on dist/demo/browser/v3.x:
projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts#L40
2) [chromium] › tests/core/dropdown/dropdown.spec.ts:34:9 › Dropdown › Hosted dropdown ───────────
Error: Screenshot comparison failed:
112 pixels (ratio 0.01 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/04-dropdown-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Hosted-dropdown-chromium/04-dropdown-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Hosted-dropdown-chromium/04-dropdown-diff.png
Call log:
- expect.toHaveScreenshot(04-dropdown.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 112 pixels (ratio 0.01 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
- 112 pixels (ratio 0.01 of all image pixels) are different.
38 | .locator('button')
39 | .click();
> 40 | await expect(page).toHaveScreenshot('04-dropdown.png');
| ^
41 | });
42 |
43 | test('Hosted dropdown and custom position', async ({page}) => {
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts:40:28
|
Run screenshot tests on dist/demo/browser/v3.x:
projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts#L40
2) [chromium] › tests/core/dropdown/dropdown.spec.ts:34:9 › Dropdown › Hosted dropdown ───────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
124858 pixels (ratio 0.07 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/04-dropdown-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Hosted-dropdown-chromium-retry1/04-dropdown-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Hosted-dropdown-chromium-retry1/04-dropdown-diff.png
Call log:
- expect.toHaveScreenshot(04-dropdown.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 124858 pixels (ratio 0.07 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
- 124858 pixels (ratio 0.07 of all image pixels) are different.
38 | .locator('button')
39 | .click();
> 40 | await expect(page).toHaveScreenshot('04-dropdown.png');
| ^
41 | });
42 |
43 | test('Hosted dropdown and custom position', async ({page}) => {
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts:40:28
|
Run screenshot tests on dist/demo/browser/v3.x:
projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts#L58
3) [chromium] › tests/core/dropdown/dropdown.spec.ts:52:9 › Dropdown › Esc -> Hosted Dropdown ────
Error: Screenshot comparison failed:
38 pixels (ratio 0.01 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/06-dropdown-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Esc---Hosted-Dropdown-chromium/06-dropdown-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Esc---Hosted-Dropdown-chromium/06-dropdown-diff.png
Call log:
- expect.toHaveScreenshot(06-dropdown.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 38 pixels (ratio 0.01 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
- 38 pixels (ratio 0.01 of all image pixels) are different.
56 | .locator('button[tuiHostedDropdownHost]')
57 | .click();
> 58 | await expect(page).toHaveScreenshot('06-dropdown.png');
| ^
59 |
60 | await page
61 | .locator("tui-dropdown [automation-id='tui-select__textfield']")
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts:58:28
|
Run screenshot tests on dist/demo/browser/v3.x:
projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts#L58
3) [chromium] › tests/core/dropdown/dropdown.spec.ts:52:9 › Dropdown › Esc -> Hosted Dropdown ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
208112 pixels (ratio 0.11 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/06-dropdown-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Esc---Hosted-Dropdown-chromium-retry1/06-dropdown-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-dropdown-dropdown-Dropdown-Esc---Hosted-Dropdown-chromium-retry1/06-dropdown-diff.png
Call log:
- expect.toHaveScreenshot(06-dropdown.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 208112 pixels (ratio 0.11 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
- 208112 pixels (ratio 0.11 of all image pixels) are different.
56 | .locator('button[tuiHostedDropdownHost]')
57 | .click();
> 58 | await expect(page).toHaveScreenshot('06-dropdown.png');
| ^
59 |
60 | await page
61 | .locator("tui-dropdown [automation-id='tui-select__textfield']")
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dropdown/dropdown.spec.ts:58:28
|
Run screenshot tests on dist/demo/browser/v3.x
Process completed with exit code 1.
|
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/
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "cypress-e2e-artifacts--20e99125dba0f7ebf423fcd4413eeaafc2ec36aa-11345757333-9502", "playwright-e2e-artifacts--20e99125dba0f7ebf423fcd4413eeaafc2ec36aa-11345757333-9502".
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/
|
Run screenshot tests on dist/demo/browser
93 passed (1.3m)
|
Run screenshot tests on dist/demo/browser/v3.x
3 failed
[chromium] › tests/core/dropdown/dropdown.spec.ts:16:9 › Dropdown › Interesting ────────────────
[chromium] › tests/core/dropdown/dropdown.spec.ts:34:9 › Dropdown › Hosted dropdown ────────────
[chromium] › tests/core/dropdown/dropdown.spec.ts:52:9 › Dropdown › Esc -> Hosted Dropdown ─────
90 passed (1.2m)
|
Loading