Skip to content

fix(addon-mobile): InputDateRange + MobileCalendar throw error on single date selection #10017

fix(addon-mobile): InputDateRange + MobileCalendar throw error on single date selection

fix(addon-mobile): InputDateRange + MobileCalendar throw error on single date selection #10017

Triggered via pull request October 15, 2024 12:11
Status Failure
Total duration 28m 13s
Artifacts 2

e2e.yml

on: pull_request
Matrix: cypress
Matrix: playwright
E2E result
11s
E2E result
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 10 warnings, and 8 notices
[chromium] › tests/core/dropdown/dropdown.spec.ts:16:9 › Dropdown › Interesting: 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
[chromium] › tests/core/dropdown/dropdown.spec.ts:16:9 › Dropdown › Interesting: 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
[chromium] › tests/core/dropdown/dropdown.spec.ts:34:9 › Dropdown › Hosted dropdown: 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
[chromium] › tests/core/dropdown/dropdown.spec.ts:34:9 › Dropdown › Hosted dropdown: 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
[chromium] › tests/core/dropdown/dropdown.spec.ts:52:9 › Dropdown › Esc -> Hosted Dropdown: 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
[chromium] › tests/core/dropdown/dropdown.spec.ts:52:9 › Dropdown › Esc -> Hosted Dropdown: 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
playwright / (1 of 4)
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 / (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/
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/
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--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/
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
93 passed (1.3m)
🎭 Playwright Run Summary
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)
🎭 Playwright Run Summary
92 passed (1.2m)
🎭 Playwright Run Summary
92 passed (1.4m)
🎭 Playwright Run Summary
92 passed (1.2m)
🎭 Playwright Run Summary
92 passed (1.4m)
🎭 Playwright Run Summary
93 passed (1.6m)
🎭 Playwright Run Summary
93 passed (1.2m)

Artifacts

Produced during runtime
Name Size
cypress-e2e-artifacts--20e99125dba0f7ebf423fcd4413eeaafc2ec36aa-11345757333-9502 Expired
3.13 MB
playwright-e2e-artifacts--20e99125dba0f7ebf423fcd4413eeaafc2ec36aa-11345757333-9502 Expired
1.85 MB