chore(demo): invalid initial value #5167
e2e-playwright.yml
on: pull_request
Annotations
2 errors, 1 warning, and 18 notices
[chromium] › tests/core/dialogs/dialogs.spec.ts:33:17 › Dialogs › 320x480 › A dialog and a nested dialog are open correctly:
projects/demo-playwright/utils/hide-element.ts#L4
1) [chromium] › tests/core/dialogs/dialogs.spec.ts:33:17 › Dialogs › 320x480 › A dialog and a nested dialog are open correctly
TimeoutError: locator.evaluate: Timeout 10000ms exceeded.
Call log:
- waiting for locator('tui-scroll-controls').nth(2)
at utils/hide-element.ts:4
2 |
3 | export async function tuiHideElement(element: Locator): Promise<void> {
> 4 | return element.evaluate((el) => {
| ^
5 | el.style.opacity = '0';
6 | });
7 | }
at tuiHideElement (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/hide-element.ts:4:20)
at TuiDocumentationPagePO.hideScrollControls (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts:49:33)
at TuiDocumentationPagePO.prepareBeforeScreenshot (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts:55:9)
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/dialogs/dialogs.spec.ts:39:17
|
[chromium] › tests/addon-doc/navigation.spec.ts:38:13 › Navigation › anchor links navigation works › scroll to "tui-doc-example":
projects/demo-playwright/tests/addon-doc/navigation.spec.ts#L41
1) [chromium] › tests/addon-doc/navigation.spec.ts:38:13 › Navigation › anchor links navigation works › scroll to "tui-doc-example"
Error: Timed out 5000ms waiting for expect(locator).toBeInViewport()
Locator: locator('#table')
Expected: in viewport
Received: outside viewport
Call log:
- expect.toBeInViewport with timeout 5000ms
- waiting for locator('#table')
- locator resolved to <tui-doc-example id="table" heading="Table" _nghost-ng-c644840128="" class="ng-star-inserted" _ngcontent-ng-c4153510544="">…</tui-doc-example>
- unexpected value "viewport ratio 0"
- locator resolved to <tui-doc-example id="table" heading="Table" _nghost-ng-c644840128="" class="ng-star-inserted" _ngcontent-ng-c4153510544="">…</tui-doc-example>
- unexpected value "viewport ratio 0"
- locator resolved to <tui-doc-example id="table" heading="Table" _nghost-ng-c644840128="" class="ng-star-inserted" _ngcontent-ng-c4153510544="">…</tui-doc-example>
- unexpected value "viewport ratio 0"
- locator resolved to <tui-doc-example id="table" heading="Table" _nghost-ng-c644840128="" class="ng-star-inserted" _ngcontent-ng-c4153510544="">…</tui-doc-example>
- unexpected value "viewport ratio 0"
- locator resolved to <tui-doc-example id="table" heading="Table" _nghost-ng-c644840128="" class="ng-star-inserted" _ngcontent-ng-c4153510544="">…</tui-doc-example>
- unexpected value "viewport ratio 0"
- locator resolved to <tui-doc-example id="table" heading="Table" _nghost-ng-c644840128="" class="ng-star-inserted" _ngcontent-ng-c4153510544="">…</tui-doc-example>
- unexpected value "viewport ratio 0"
- locator resolved to <tui-doc-example id="table" heading="Table" _nghost-ng-c644840128="" class="ng-star-inserted" _ngcontent-ng-c4153510544="">…</tui-doc-example>
- unexpected value "viewport ratio 0"
- locator resolved to <tui-doc-example id="table" heading="Table" _nghost-ng-c644840128="" class="ng-star-inserted" _ngcontent-ng-c4153510544="">…</tui-doc-example>
- unexpected value "viewport ratio 0"
- locator resolved to <tui-doc-example id="table" heading="Table" _nghost-ng-c644840128="" class="ng-star-inserted" _ngcontent-ng-c4153510544="">…</tui-doc-example>
- unexpected value "viewport ratio 0"
39 | await tuiGoto(page, `${DemoRoute.Input}#table`);
40 |
> 41 | await expect(page.locator('#table')).toBeInViewport();
| ^
42 | });
43 |
44 | test('scroll to "tui-doc-code"', async ({page}) => {
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-doc/navigation.spec.ts:41:50
|
Slow Test:
[chromium] › tests/kit/input-table/input-table.spec.ts#L1
[chromium] › tests/kit/input-table/input-table.spec.ts took 15.2s
|
🎭 Playwright Run Summary
97 passed (1.2m)
|
🎭 Playwright Run Summary
97 passed (1.3m)
|
🎭 Playwright Run Summary
97 passed (1.5m)
|
🎭 Playwright Run Summary
97 passed (1.3m)
|
🎭 Playwright Run Summary
97 passed (1.9m)
|
🎭 Playwright Run Summary
97 passed (1.6m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › tests/core/dialogs/dialogs.spec.ts:33:17 › Dialogs › 320x480 › A dialog and a nested dialog are open correctly
96 passed (2.2m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › tests/addon-doc/navigation.spec.ts:38:13 › Navigation › anchor links navigation works › scroll to "tui-doc-example"
96 passed (1.9m)
|
🎭 Playwright Run Summary
97 passed (1.3m)
|
🎭 Playwright Run Summary
97 passed (1.4m)
|
🎭 Playwright Run Summary
97 passed (2.4m)
|
🎭 Playwright Run Summary
97 passed (3.0m)
|
🎭 Playwright Run Summary
97 passed (2.0m)
|
🎭 Playwright Run Summary
97 passed (2.5m)
|
🎭 Playwright Run Summary
96 passed (1.4m)
|
🎭 Playwright Run Summary
96 passed (1.6m)
|
🎭 Playwright Run Summary
97 passed (3.9m)
|
🎭 Playwright Run Summary
97 passed (5.0m)
|