Skip to content

feat(experimental): Surface add new directive #6748

feat(experimental): Surface add new directive

feat(experimental): Surface add new directive #6748

Triggered via pull request October 10, 2023 12:57
@waterpleawaterplea
synchronize #5555
surface
Status Cancelled
Total duration 1h 15m 41s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

e2e.yml

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

Annotations

12 errors and 6 notices
Build demo
Process completed with exit code 1.
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/button: projects/demo-playwright/tests/demo/demo.spec.ts#L34
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/button ────────────────────── Error: Screenshot comparison failed: Expected an image 640px by 176px, received 640px by 340px. 68423 pixels (ratio 0.32 of all image pixels) are different. Call log: - expect.toHaveScreenshot(experimental-button/4.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').nth(3) - locator resolved to <div _ngcontent-tui-demo-c338="" 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 176px, received 640px by 340px. 68423 pixels (ratio 0.32 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').nth(3) - locator resolved to <div _ngcontent-tui-demo-c338="" 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 176px, received 640px by 340px. 68423 pixels (ratio 0.32 of all image pixels) are different. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/experimental-button/4-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-experimental-button-chromium/experimental-button/4-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-experimental-button-chromium/experimental-button/4-diff.png 32 | } 33 | > 34 | await expect(example).toHaveScreenshot([ | ^ 35 | path.replace(`/`, ``).replace(/\//g, `-`), 36 | `${i + 1}.png`, 37 | ]); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:34:39
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/button: projects/demo-playwright/tests/demo/demo.spec.ts#L34
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/button ────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: Expected an image 640px by 176px, received 640px by 340px. 68423 pixels (ratio 0.32 of all image pixels) are different. Call log: - expect.toHaveScreenshot(experimental-button/4.png) with timeout 5000ms - verifying given screenshot expectation - waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').nth(3) - locator resolved to <div _ngcontent-tui-demo-c338="" 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 176px, received 640px by 340px. 68423 pixels (ratio 0.32 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').nth(3) - locator resolved to <div _ngcontent-tui-demo-c338="" 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 176px, received 640px by 340px. 68423 pixels (ratio 0.32 of all image pixels) are different. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/experimental-button/4-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-experimental-button-chromium-retry1/experimental-button/4-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-experimental-button-chromium-retry1/experimental-button/4-diff.png 32 | } 33 | > 34 | await expect(example).toHaveScreenshot([ | ^ 35 | path.replace(`/`, ``).replace(/\//g, `-`), 36 | `${i + 1}.png`, 37 | ]); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:34:39
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/surface: projects/demo-playwright/tests/demo/demo.spec.ts#L1
2) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/surface ───────────────────── Test timeout of 30000ms exceeded.
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/surface: projects/demo-playwright/utils/goto.ts#L34
2) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/surface ───────────────────── Error: locator.evaluate: Page closed =========================== logs =========================== waiting for locator('[tuidocheader]') ============================================================ at utils/goto.ts:34 32 | 33 | if (hideHeader) { > 34 | await page.locator(`[tuidocheader]`).evaluate(el => el.remove()); | ^ 35 | } 36 | 37 | return response; at tuiGoto (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/goto.ts:34:46) at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:11:13
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/surface: projects/demo-playwright/tests/demo/demo.spec.ts#L1
2) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/surface ───────────────────── Pending operations: - locator.evaluate at projects/demo-playwright/utils/goto.ts:34:46
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/surface: projects/demo-playwright/tests/demo/demo.spec.ts#L1
2) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/surface ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/surface: projects/demo-playwright/utils/goto.ts#L34
2) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/surface ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.evaluate: Page closed =========================== logs =========================== waiting for locator('[tuidocheader]') ============================================================ at utils/goto.ts:34 32 | 33 | if (hideHeader) { > 34 | await page.locator(`[tuidocheader]`).evaluate(el => el.remove()); | ^ 35 | } 36 | 37 | return response; at tuiGoto (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/goto.ts:34:46) at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:11:13
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/surface: projects/demo-playwright/tests/demo/demo.spec.ts#L1
2) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/surface ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Pending operations: - locator.evaluate at projects/demo-playwright/utils/goto.ts:34:46
playwright / (2 of 3)
Process completed with exit code 1.
kit
Canceling since a higher priority waiting request for 'e2e-⚙️ E2E tests-refs/pull/5555/merge' exists
kit
The operation was canceled.
🎭 Playwright Run Summary
69 passed (2.5m)
🎭 Playwright Run Summary
69 passed (3.0m)
🎭 Playwright Run Summary
70 passed (3.3m)
🎭 Playwright Run Summary
2 failed [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/button ─────────────────────── [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/surface ────────────────────── 68 passed (3.3m)
🎭 Playwright Run Summary
70 passed (3.6m)
🎭 Playwright Run Summary
70 passed (2.8m)

Artifacts

Produced during runtime
Name Size
playwright-e2e-artifacts--f0e71144ffdb81007d68a99df8030a6cf9efdeba-6469625215-5555 Expired
93 KB