fix(kit): do not override white-space for children of line-clamp #4692
e2e-playwright.yml
on: pull_request
Annotations
3 errors and 18 notices
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/line-clamp:
projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/line-clamp ────────────────────
Error: Screenshot comparison failed:
85 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/components-line-clamp/1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-line-clamp-chromium/components-line-clamp/1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-line-clamp-chromium/components-line-clamp/1-diff.png
Call log:
- expect.toHaveScreenshot(components-line-clamp/1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-ng-c3443978456="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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
- 85 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-ng-c3443978456="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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
- 85 pixels (ratio 0.01 of all image pixels) are different.
35 | await documentation.waitStableState(); // note: load lazy loading images
36 |
> 37 | await expect(example).toHaveScreenshot(
| ^
38 | [path.replace('/', '').replaceAll('/', '-'), `${i + 1}.png`],
39 | {threshold: 0.02},
40 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:37:39
|
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/line-clamp:
projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/line-clamp ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
85 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/components-line-clamp/1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-line-clamp-chromium-retry1/components-line-clamp/1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-line-clamp-chromium-retry1/components-line-clamp/1-diff.png
Call log:
- expect.toHaveScreenshot(components-line-clamp/1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-ng-c3443978456="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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
- 85 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-ng-c3443978456="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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
- 85 pixels (ratio 0.01 of all image pixels) are different.
35 | await documentation.waitStableState(); // note: load lazy loading images
36 |
> 37 | await expect(example).toHaveScreenshot(
| ^
38 | [path.replace('/', '').replaceAll('/', '-'), `${i + 1}.png`],
39 | {threshold: 0.02},
40 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:37:39
|
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.3m)
|
🎭 Playwright Run Summary
95 passed (1.5m)
|
🎭 Playwright Run Summary
95 passed (1.2m)
|
🎭 Playwright Run Summary
95 passed (1.5m)
|
🎭 Playwright Run Summary
96 passed (1.5m)
|
🎭 Playwright Run Summary
96 passed (1.3m)
|
🎭 Playwright Run Summary
96 passed (1.7m)
|
🎭 Playwright Run Summary
96 passed (1.5m)
|
🎭 Playwright Run Summary
95 passed (1.8m)
|
🎭 Playwright Run Summary
95 passed (1.6m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/line-clamp ─────────────────────
95 passed (1.8m)
|
🎭 Playwright Run Summary
96 passed (2.1m)
|
🎭 Playwright Run Summary
96 passed (2.4m)
|
🎭 Playwright Run Summary
96 passed (3.0m)
|
🎭 Playwright Run Summary
96 passed (3.7m)
|
🎭 Playwright Run Summary
96 passed (4.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-e2e-artifacts--de0487f503710b1441eff35adaa276dff3e3294a-10864051658-9025_5
Expired
|
81.4 KB |
|