Skip to content

feat(kit): TuiCalendarRange add item property for correctly switch value outside #3972

feat(kit): TuiCalendarRange add item property for correctly switch value outside

feat(kit): TuiCalendarRange add item property for correctly switch value outside #3972

Triggered via pull request August 20, 2024 14:32
Status Failure
Total duration 14m 20s
Artifacts 1

e2e-playwright.yml

on: pull_request
Matrix: playwright
Playwright E2E Tests matrix result
0s
Playwright E2E Tests matrix result
E2E result
9s
E2E result
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 18 notices
Build demo
Process completed with exit code 1.
[chromium] › tests/kit/routable/routable.spec.ts:6:9 › Routable › should open lazy loaded dialog by click and then close by outside click: projects/demo-playwright/utils/hide-element.ts#L4
1) [chromium] › tests/kit/routable/routable.spec.ts:6:9 › Routable › should open lazy loaded dialog by click and then close by outside click TimeoutError: locator.evaluate: Timeout 10000ms exceeded. Call log: - waiting for locator('tui-scroll-controls').nth(2) at utils/hide-element.ts:4 2 | 3 | export async function tuiHideElement(element: Locator): Promise<void> { > 4 | return element.evaluate((el) => { | ^ 5 | el.style.opacity = '0'; 6 | }); 7 | } at tuiHideElement (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/hide-element.ts:4:20) at TuiDocumentationPagePO.hideScrollControls (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts:49:33) at TuiDocumentationPagePO.prepareBeforeScreenshot (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts:55:9) at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/routable/routable.spec.ts:18:9
[chromium] › tests/deep/deep-toggle.spec.ts:8:13 › Deep / Toggle › /components/input-password: projects/demo-playwright/tests/deep/deep-toggle.spec.ts#L34
1) [chromium] › tests/deep/deep-toggle.spec.ts:8:13 › Deep / Toggle › /components/input-password ─ Error: Screenshot comparison failed: 491 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-toggle.spec.ts-snapshots/deep--components-input-password-readOnly--toggled-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-toggle-Deep-Toggle-components-input-password-chromium/deep--components-input-password-readOnly--toggled-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-toggle-Deep-Toggle-components-input-password-chromium/deep--components-input-password-readOnly--toggled-diff.png Call log: - expect.toHaveScreenshot(deep-/components/input-password__[readOnly]-toggled.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#demo-content') - locator resolved to <div id="demo-content" _ngcontent-ng-c3888982576="">…</div> - 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 - 491 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" _ngcontent-ng-c3888982576="">…</div> - 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 - 491 pixels (ratio 0.01 of all image pixels) are different. 32 | await api.waitStableState(); 33 | > 34 | await expect(api.apiPageExample).toHaveScreenshot( | ^ 35 | `deep-${path}__${name}-toggled.png`, 36 | {threshold: 0.02}, 37 | ); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-toggle.spec.ts:34:50
[chromium] › tests/deep/deep-toggle.spec.ts:8:13 › Deep / Toggle › /components/input-password: projects/demo-playwright/tests/deep/deep-toggle.spec.ts#L34
1) [chromium] › tests/deep/deep-toggle.spec.ts:8:13 › Deep / Toggle › /components/input-password ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 491 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-toggle.spec.ts-snapshots/deep--components-input-password-readOnly--toggled-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-toggle-Deep-Toggle-components-input-password-chromium-retry1/deep--components-input-password-readOnly--toggled-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-toggle-Deep-Toggle-components-input-password-chromium-retry1/deep--components-input-password-readOnly--toggled-diff.png Call log: - expect.toHaveScreenshot(deep-/components/input-password__[readOnly]-toggled.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#demo-content') - locator resolved to <div id="demo-content" _ngcontent-ng-c3888982576="">…</div> - 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 - 491 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" _ngcontent-ng-c3888982576="">…</div> - 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 - 491 pixels (ratio 0.01 of all image pixels) are different. 32 | await api.waitStableState(); 33 | > 34 | await expect(api.apiPageExample).toHaveScreenshot( | ^ 35 | `deep-${path}__${name}-toggled.png`, 36 | {threshold: 0.02}, 37 | ); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-toggle.spec.ts:34:50
[chromium] › tests/deep/deep-toggle.spec.ts:8:13 › Deep / Toggle › /components/input-password: projects/demo-playwright/tests/deep/deep-toggle.spec.ts#L34
1) [chromium] › tests/deep/deep-toggle.spec.ts:8:13 › Deep / Toggle › /components/input-password ─ Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 491 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/deep/deep-toggle.spec.ts-snapshots/deep--components-input-password-readOnly--toggled-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-toggle-Deep-Toggle-components-input-password-chromium-retry2/deep--components-input-password-readOnly--toggled-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-toggle-Deep-Toggle-components-input-password-chromium-retry2/deep--components-input-password-readOnly--toggled-diff.png Call log: - expect.toHaveScreenshot(deep-/components/input-password__[readOnly]-toggled.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#demo-content') - locator resolved to <div id="demo-content" _ngcontent-ng-c3888982576="">…</div> - 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 - 491 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" _ngcontent-ng-c3888982576="">…</div> - 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 - 491 pixels (ratio 0.01 of all image pixels) are different. 32 | await api.waitStableState(); 33 | > 34 | await expect(api.apiPageExample).toHaveScreenshot( | ^ 35 | `deep-${path}__${name}-toggled.png`, 36 | {threshold: 0.02}, 37 | ); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-toggle.spec.ts:34:50
playwright / (4 of 9)
Process completed with exit code 1.
[chromium] › tests/kit/calendar-range/calendar-range.spec.ts:23:13 › CalendarRange › Examples › With another range switcher: projects/demo-playwright/tests/kit/calendar-range/calendar-range.spec.ts#L27
1) [chromium] › tests/kit/calendar-range/calendar-range.spec.ts:23:13 › CalendarRange › Examples › With another range switcher Error: Screenshot comparison failed: Timeout 5000ms exceeded. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/calendar-range/calendar-range.spec.ts-snapshots/05-calendar-range-correct-display-defaults-items-and-values-chromium-linux.png Call log: - expect.toHaveScreenshot(05-calendar-range-correct-display-defaults-items-and-values.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#with-another-range-switcher [automation-id="tui-doc-example"]') - Timeout 5000ms exceeded. 25 | example.locator('p button[data-appearance="link"]'); 26 | > 27 | await expect(example).toHaveScreenshot( | ^ 28 | '05-calendar-range-correct-display-defaults-items-and-values.png', 29 | ); 30 | at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/calendar-range/calendar-range.spec.ts:27:35
[chromium] › tests/kit/calendar-range/calendar-range.spec.ts:23:13 › CalendarRange › Examples › With another range switcher: projects/demo-playwright/tests/kit/calendar-range/calendar-range.spec.ts#L27
1) [chromium] › tests/kit/calendar-range/calendar-range.spec.ts:23:13 › CalendarRange › Examples › With another range switcher Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: Timeout 5000ms exceeded. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/calendar-range/calendar-range.spec.ts-snapshots/05-calendar-range-correct-display-defaults-items-and-values-chromium-linux.png Call log: - expect.toHaveScreenshot(05-calendar-range-correct-display-defaults-items-and-values.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#with-another-range-switcher [automation-id="tui-doc-example"]') - Timeout 5000ms exceeded. 25 | example.locator('p button[data-appearance="link"]'); 26 | > 27 | await expect(example).toHaveScreenshot( | ^ 28 | '05-calendar-range-correct-display-defaults-items-and-values.png', 29 | ); 30 | at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/calendar-range/calendar-range.spec.ts:27:35
[chromium] › tests/kit/calendar-range/calendar-range.spec.ts:23:13 › CalendarRange › Examples › With another range switcher: projects/demo-playwright/tests/kit/calendar-range/calendar-range.spec.ts#L27
1) [chromium] › tests/kit/calendar-range/calendar-range.spec.ts:23:13 › CalendarRange › Examples › With another range switcher Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: Timeout 5000ms exceeded. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/calendar-range/calendar-range.spec.ts-snapshots/05-calendar-range-correct-display-defaults-items-and-values-chromium-linux.png Call log: - expect.toHaveScreenshot(05-calendar-range-correct-display-defaults-items-and-values.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#with-another-range-switcher [automation-id="tui-doc-example"]') - Timeout 5000ms exceeded. 25 | example.locator('p button[data-appearance="link"]'); 26 | > 27 | await expect(example).toHaveScreenshot( | ^ 28 | '05-calendar-range-correct-display-defaults-items-and-values.png', 29 | ); 30 | at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/calendar-range/calendar-range.spec.ts:27:35
playwright / (6 of 9)
Process completed with exit code 1.
E2E result
Process completed with exit code 1.
🎭 Playwright Run Summary
95 passed (1.2m)
🎭 Playwright Run Summary
95 passed (1.4m)
🎭 Playwright Run Summary
95 passed (1.2m)
🎭 Playwright Run Summary
95 passed (1.4m)
🎭 Playwright Run Summary
95 passed (1.5m)
🎭 Playwright Run Summary
1 flaky [chromium] › tests/kit/routable/routable.spec.ts:6:9 › Routable › should open lazy loaded dialog by click and then close by outside click 94 passed (1.4m)
🎭 Playwright Run Summary
95 passed (1.4m)
🎭 Playwright Run Summary
1 failed [chromium] › tests/deep/deep-toggle.spec.ts:8:13 › Deep / Toggle › /components/input-password ── 94 passed (1.3m)
🎭 Playwright Run Summary
96 passed (1.7m)
🎭 Playwright Run Summary
96 passed (1.5m)
🎭 Playwright Run Summary
1 failed [chromium] › tests/kit/calendar-range/calendar-range.spec.ts:23:13 › CalendarRange › Examples › With another range switcher 94 passed (1.6m)
🎭 Playwright Run Summary
95 passed (1.9m)
🎭 Playwright Run Summary
95 passed (2.0m)
🎭 Playwright Run Summary
95 passed (1.6m)
🎭 Playwright Run Summary
95 passed (3.3m)
🎭 Playwright Run Summary
95 passed (2.7m)
🎭 Playwright Run Summary
95 passed (4.8m)
🎭 Playwright Run Summary
95 passed (3.7m)

Artifacts

Produced during runtime
Name Size
playwright-e2e-artifacts--8f0503d6786577fc6bfd2f31c7b0e46318eab06c-10473650660-8615_4 Expired
25.4 KB