feat(kit): support TemplateRef
fallback for tui-avatar
#9740
e2e.yml
on: pull_request
Build demo
3m 52s
Cypress / Component Testing
3m 46s
Matrix: playwright
E2E result
10s
Playwright E2E Tests matrix result
0s
Annotations
5 errors, 1 warning, and 18 notices
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/avatar:
projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/avatar ────────────────────────
Error: Screenshot comparison failed:
Expected an image 640px by 1424px, received 640px by 1208px. 11339 pixels (ratio 0.02 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-avatar/1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-avatar-chromium/components-avatar/1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-avatar-chromium/components-avatar/1-diff.png
Call log:
- expect.toHaveScreenshot(components-avatar/1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-ng-c644840128="" 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
- Expected an image 640px by 1424px, received 640px by 1208px. 11339 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-ng-c644840128="" 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
- Expected an image 640px by 1424px, received 640px by 1208px. 11339 pixels (ratio 0.02 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/avatar:
projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/avatar ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 640px by 1424px, received 640px by 1208px. 11339 pixels (ratio 0.02 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-avatar/1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-avatar-chromium-retry1/components-avatar/1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-avatar-chromium-retry1/components-avatar/1-diff.png
Call log:
- expect.toHaveScreenshot(components-avatar/1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-ng-c644840128="" 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
- Expected an image 640px by 1424px, received 640px by 1208px. 11339 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-ng-c644840128="" 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
- Expected an image 640px by 1424px, received 640px by 1208px. 11339 pixels (ratio 0.02 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/avatar:
projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/avatar ────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 640px by 1424px, received 640px by 1208px. 11339 pixels (ratio 0.02 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-avatar/1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-avatar-chromium-retry2/components-avatar/1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-avatar-chromium-retry2/components-avatar/1-diff.png
Call log:
- expect.toHaveScreenshot(components-avatar/1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-ng-c644840128="" 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
- Expected an image 640px by 1424px, received 640px by 1208px. 11339 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').first()
- locator resolved to <div _ngcontent-ng-c644840128="" 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
- Expected an image 640px by 1424px, received 640px by 1208px. 11339 pixels (ratio 0.02 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
|
Playwright / (5 of 9)
Process completed with exit code 1.
|
E2E result
Process completed with exit code 1.
|
Slow Test:
[chromium] › tests/kit/input-table/input-table.spec.ts#L1
[chromium] › tests/kit/input-table/input-table.spec.ts took 17.8s
|
🎭 Playwright Run Summary
97 passed (1.3m)
|
🎭 Playwright Run Summary
97 passed (1.3m)
|
🎭 Playwright Run Summary
97 passed (1.5m)
|
🎭 Playwright Run Summary
97 passed (1.3m)
|
🎭 Playwright Run Summary
96 passed (1.3m)
|
🎭 Playwright Run Summary
96 passed (1.5m)
|
🎭 Playwright Run Summary
97 passed (1.9m)
|
🎭 Playwright Run Summary
97 passed (1.6m)
|
🎭 Playwright Run Summary
97 passed (2.0m)
|
🎭 Playwright Run Summary
97 passed (1.7m)
|
🎭 Playwright Run Summary
96 passed (1.4m)
|
🎭 Playwright Run Summary
96 passed (1.6m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/avatar ─────────────────────────
96 passed (2.0m)
|
🎭 Playwright Run Summary
97 passed (2.4m)
|
🎭 Playwright Run Summary
97 passed (2.3m)
|
🎭 Playwright Run Summary
97 passed (2.9m)
|
🎭 Playwright Run Summary
97 passed (3.8m)
|
🎭 Playwright Run Summary
97 passed (4.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
cy_baseline_99befc119b2807bacf70071e75df4479600b3b55
Expired
|
53.2 KB |
|
playwright-e2e-artifacts--99befc119b2807bacf70071e75df4479600b3b55-11215518683-9365_5
Expired
|
131 KB |
|