feat(addon-doc): allow adding extra tabs with DI #9782
Annotations
1 error and 2 notices
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"
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
|
|
|
This job succeeded
Loading