Skip to content

feat(kit): create TUI_TIME_VALUE_TRANSFORMER for tui-input-time component #9555

feat(kit): create TUI_TIME_VALUE_TRANSFORMER for tui-input-time component

feat(kit): create TUI_TIME_VALUE_TRANSFORMER for tui-input-time component #9555

Triggered via pull request August 8, 2024 11:01
Status Failure
Total duration 27m 20s
Artifacts 2

e2e.yml

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

Annotations

9 errors, 9 warnings, and 8 notices
[chromium] › tests/kit/input-time/input-time.spec.ts:21:17 › InputTime › Examples › base: projects/demo-playwright/tests/kit/input-time/input-time.spec.ts#L36
1) [chromium] › tests/kit/input-time/input-time.spec.ts:21:17 › InputTime › Examples › base ────── Error: Screenshot comparison failed: 4935 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/01-input-time-base-1-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-Examples-base-chromium/01-input-time-base-1-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-Examples-base-chromium/01-input-time-base-1-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - 4935 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - taking page screenshot - disabled all CSS animations - captured a stable screenshot - 4935 pixels (ratio 0.01 of all image pixels) are different. 34 | 35 | await expect(inputTime.textfield).toBeFocused(); > 36 | await expect(page).toHaveScreenshot( | ^ 37 | `0${exampleIndex + 1}-input-time-${id}-${i + 1}.png`, 38 | ); 39 | } at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-time/input-time.spec.ts:36:40
[chromium] › tests/kit/input-time/input-time.spec.ts:21:17 › InputTime › Examples › base: projects/demo-playwright/tests/kit/input-time/input-time.spec.ts#L36
1) [chromium] › tests/kit/input-time/input-time.spec.ts:21:17 › InputTime › Examples › base ────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 4935 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/01-input-time-base-1-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-Examples-base-chromium-retry1/01-input-time-base-1-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-Examples-base-chromium-retry1/01-input-time-base-1-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - 4935 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - taking page screenshot - disabled all CSS animations - captured a stable screenshot - 4935 pixels (ratio 0.01 of all image pixels) are different. 34 | 35 | await expect(inputTime.textfield).toBeFocused(); > 36 | await expect(page).toHaveScreenshot( | ^ 37 | `0${exampleIndex + 1}-input-time-${id}-${i + 1}.png`, 38 | ); 39 | } at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-time/input-time.spec.ts:36:40
[chromium] › tests/kit/input-time/input-time.spec.ts:21:17 › InputTime › Examples › options-max-and-postfix: projects/demo-playwright/tests/kit/input-time/input-time.spec.ts#L36
2) [chromium] › tests/kit/input-time/input-time.spec.ts:21:17 › InputTime › Examples › options-max-and-postfix Error: Screenshot comparison failed: 5345 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/05-input-time-options-max-and-postfix-1-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-Examples-options-max-and-postfix-chromium/05-input-time-options-max-and-postfix-1-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-Examples-options-max-and-postfix-chromium/05-input-time-options-max-and-postfix-1-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - 5345 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - taking page screenshot - disabled all CSS animations - captured a stable screenshot - 5345 pixels (ratio 0.01 of all image pixels) are different. 34 | 35 | await expect(inputTime.textfield).toBeFocused(); > 36 | await expect(page).toHaveScreenshot( | ^ 37 | `0${exampleIndex + 1}-input-time-${id}-${i + 1}.png`, 38 | ); 39 | } at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-time/input-time.spec.ts:36:40
[chromium] › tests/kit/input-time/input-time.spec.ts:21:17 › InputTime › Examples › options-max-and-postfix: projects/demo-playwright/tests/kit/input-time/input-time.spec.ts#L36
2) [chromium] › tests/kit/input-time/input-time.spec.ts:21:17 › InputTime › Examples › options-max-and-postfix Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 5345 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/05-input-time-options-max-and-postfix-1-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-Examples-options-max-and-postfix-chromium-retry1/05-input-time-options-max-and-postfix-1-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-input-time-input-time-InputTime-Examples-options-max-and-postfix-chromium-retry1/05-input-time-options-max-and-postfix-1-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - 5345 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - taking page screenshot - disabled all CSS animations - captured a stable screenshot - 5345 pixels (ratio 0.01 of all image pixels) are different. 34 | 35 | await expect(inputTime.textfield).toBeFocused(); > 36 | await expect(page).toHaveScreenshot( | ^ 37 | `0${exampleIndex + 1}-input-time-${id}-${i + 1}.png`, 38 | ); 39 | } at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/input-time/input-time.spec.ts:36:40
playwright / (4 of 4)
Process completed with exit code 1.
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/input-time: projects/demo-playwright/tests/demo/demo.spec.ts#L35
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/input-time ──────────────────── Error: Screenshot comparison failed: Expected an image 640px by 526px, received 640px by 524px. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/components-input-time/1-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-input-time-chromium/components-input-time/1-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-input-time-chromium/components-input-time/1-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').first() - locator resolved to <div _ngcontent-tui-demo-c345="" automation-id="tui-d…>…</div> - taking element screenshot - disabled all CSS animations - waiting for element to be visible and stable - element is visible and stable - Expected an image 640px by 526px, received 640px by 524px. - waiting 100ms before taking screenshot - waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').first() - locator resolved to <div _ngcontent-tui-demo-c345="" automation-id="tui-d…>…</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 - Expected an image 640px by 526px, received 640px by 524px. 33 | } 34 | > 35 | await expect(example).toHaveScreenshot([ | ^ 36 | path.replace('/', '').replace(/\//g, '-'), 37 | `${i + 1}.png`, 38 | ]); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:35:39
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/input-time: projects/demo-playwright/tests/demo/demo.spec.ts#L35
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/input-time ──────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: Expected an image 640px by 526px, received 640px by 524px. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/components-input-time/1-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-input-time-chromium-retry1/components-input-time/1-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-input-time-chromium-retry1/components-input-time/1-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').first() - locator resolved to <div _ngcontent-tui-demo-c345="" automation-id="tui-d…>…</div> - taking element screenshot - disabled all CSS animations - waiting for element to be visible and stable - element is visible and stable - Expected an image 640px by 526px, received 640px by 524px. - waiting 100ms before taking screenshot - waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').first() - locator resolved to <div _ngcontent-tui-demo-c345="" automation-id="tui-d…>…</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 - Expected an image 640px by 526px, received 640px by 524px. 33 | } 34 | > 35 | await expect(example).toHaveScreenshot([ | ^ 36 | path.replace('/', '').replace(/\//g, '-'), 37 | `${i + 1}.png`, 38 | ]); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:35:39
playwright / (2 of 4)
Process completed with exit code 1.
E2E result
The process '/usr/bin/git' failed with exit code 1
Build demo
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]. 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 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/
playwright / (4 of 4)
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/
playwright / (3 of 4)
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/
playwright / (2 of 4)
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/
deep
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/
core
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/
kit
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/
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--8079b6a9381d552150fc9d254f4040ae692139fe-10300836835-8391", "playwright-e2e-artifacts--8079b6a9381d552150fc9d254f4040ae692139fe-10300836835-8391". 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/
🎭 Playwright Run Summary
93 passed (1.3m)
🎭 Playwright Run Summary
93 passed (1.1m)
🎭 Playwright Run Summary
2 failed [chromium] › tests/kit/input-time/input-time.spec.ts:21:17 › InputTime › Examples › base ─────── [chromium] › tests/kit/input-time/input-time.spec.ts:21:17 › InputTime › Examples › options-max-and-postfix 90 passed (1.2m)
🎭 Playwright Run Summary
92 passed (1.3m)
🎭 Playwright Run Summary
92 passed (1.2m)
🎭 Playwright Run Summary
92 passed (1.5m)
🎭 Playwright Run Summary
92 passed (1.8m)
🎭 Playwright Run Summary
1 failed [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/input-time ───────────────────── 91 passed (1.4m)

Artifacts

Produced during runtime
Name Size
cypress-e2e-artifacts--8079b6a9381d552150fc9d254f4040ae692139fe-10300836835-8391 Expired
245 KB
playwright-e2e-artifacts--8079b6a9381d552150fc9d254f4040ae692139fe-10300836835-8391 Expired
603 KB