feat(kit): Like
add new component
#4872
Annotations
7 errors and 2 notices
projects/demo-playwright/utils/hide-element.ts#L10
1) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/like ──────────
TimeoutError: locator.evaluate: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[tuiDocHeader]')
at utils/hide-element.ts:10
8 |
9 | export async function tuiRemoveElement(element: Locator): Promise<void> {
> 10 | return element.evaluate((el) => el.remove());
| ^
11 | }
12 |
at tuiRemoveElement (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/hide-element.ts:10:20)
at tuiGoto (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/goto.ts:67:31)
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:15:13
|
projects/demo-playwright/utils/hide-element.ts#L10
1) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/like ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.evaluate: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[tuiDocHeader]')
at utils/hide-element.ts:10
8 |
9 | export async function tuiRemoveElement(element: Locator): Promise<void> {
> 10 | return element.evaluate((el) => el.remove());
| ^
11 | }
12 |
at tuiRemoveElement (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/hide-element.ts:10:20)
at tuiGoto (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/goto.ts:67:31)
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:15:13
|
projects/demo-playwright/utils/hide-element.ts#L10
1) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/like ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.evaluate: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[tuiDocHeader]')
at utils/hide-element.ts:10
8 |
9 | export async function tuiRemoveElement(element: Locator): Promise<void> {
> 10 | return element.evaluate((el) => el.remove());
| ^
11 | }
12 |
at tuiRemoveElement (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/hide-element.ts:10:20)
at tuiGoto (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/goto.ts:67:31)
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:15:13
|
projects/demo-playwright/tests/deep/deep-select.spec.ts#L47
2) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/icon ──────────
Error: Screenshot comparison failed:
437 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-select.spec.ts-snapshots/deep--components-icon-icon--select-option-42-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-icon-chromium/deep--components-icon-icon--select-option-42-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-icon-chromium/deep--components-icon-icon--select-option-42-diff.png
Call log:
- expect.toHaveScreenshot(deep-/components/icon__[icon]-select-option-42.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
- 437 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
- 437 pixels (ratio 0.01 of all image pixels) are different.
45 | await api.waitStableState();
46 |
> 47 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
48 | `deep-${path}__${name}-select-option-${index}.png`,
49 | {threshold: 0.02},
50 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:47:54
|
projects/demo-playwright/tests/deep/deep-select.spec.ts#L47
2) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/icon ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
437 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-select.spec.ts-snapshots/deep--components-icon-icon--select-option-42-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-icon-chromium-retry1/deep--components-icon-icon--select-option-42-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-icon-chromium-retry1/deep--components-icon-icon--select-option-42-diff.png
Call log:
- expect.toHaveScreenshot(deep-/components/icon__[icon]-select-option-42.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
- 437 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
- 437 pixels (ratio 0.01 of all image pixels) are different.
45 | await api.waitStableState();
46 |
> 47 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
48 | `deep-${path}__${name}-select-option-${index}.png`,
49 | {threshold: 0.02},
50 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:47:54
|
projects/demo-playwright/tests/deep/deep-select.spec.ts#L47
2) [chromium] › tests/deep/deep-select.spec.ts:13:13 › Deep / Select › /components/icon ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
437 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-select.spec.ts-snapshots/deep--components-icon-icon--select-option-42-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-icon-chromium-retry2/deep--components-icon-icon--select-option-42-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-deep-deep-select-Deep-Select-components-icon-chromium-retry2/deep--components-icon-icon--select-option-42-diff.png
Call log:
- expect.toHaveScreenshot(deep-/components/icon__[icon]-select-option-42.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
- 437 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
- 437 pixels (ratio 0.01 of all image pixels) are different.
45 | await api.waitStableState();
46 |
> 47 | await expect(api.apiPageExample).toHaveScreenshot(
| ^
48 | `deep-${path}__${name}-select-option-${index}.png`,
49 | {threshold: 0.02},
50 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/deep/deep-select.spec.ts:47:54
|
|
|
|
This job succeeded
Loading