feat(core): add close methods for dropdown context directive #11038
Annotations
1 error, 5 warnings, and 2 notices
Run screenshot tests on dist/demo/browser:
projects/demo-playwright/tests/core/data-list/data-list.pw.spec.ts#L16
1) [webkit] › tests/core/data-list/data-list.pw.spec.ts:6:9 › DataList › Custom list ─────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveScreenshot(expected)
Locator: locator('tui-dropdown')
Failed to take two consecutive stable screenshots.
Previous: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-data-list-data-list.pw-DataList-Custom-list-webkit/01-data-list-previous.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-data-list-data-list.pw-DataList-Custom-list-webkit/01-data-list-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-data-list-data-list.pw-DataList-Custom-list-webkit/01-data-list-diff.png
Call log:
- expect.toHaveScreenshot(01-data-list.png) with timeout 5000ms
- generating new stable screenshot expectation
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-ng-c452864359="" class="ng-tns-c452864359-26 ng-trigger ng-trigger-tuiDropdownAnimation ng-star-inserted">…</tui-dropdown>
- 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
- waiting 100ms before taking screenshot
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-ng-c452864359="" class="ng-tns-c452864359-26 ng-trigger ng-trigger-tuiDropdownAnimation ng-star-inserted">…</tui-dropdown>
- 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
- 99173 pixels (ratio 0.20 of all image pixels) are different.
- waiting 250ms before taking screenshot
- waiting for locator('tui-dropdown')
- locator resolved to <tui-dropdown data-appearance="" _nghost-ng-c452864359="" class="ng-tns-c452864359-26 ng-trigger ng-trigger-tuiDropdownAnimation ng-star-inserted">…</tui-dropdown>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- Timeout 5000ms exceeded.
14 | await page.locator('tui-dropdown [tuiOption]').nth(0).hover();
15 |
> 16 | await expect(page.locator('tui-dropdown')).toHaveScreenshot('01-data-list.png');
| ^
17 | });
18 |
19 | test('Links', async ({page}) => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/data-list/data-list.pw.spec.ts:16:52
|
Mac OS X building all dependencies
pkgconf 2.3.0_1 is already installed and up-to-date.
To reinstall 2.3.0_1, run:
brew reinstall pkgconf
|
Mac OS X building all dependencies
cairo 1.18.2 is already installed and up-to-date.
To reinstall 1.18.2, run:
brew reinstall cairo
|
Mac OS X building all dependencies
libpng 1.6.44 is already installed and up-to-date.
To reinstall 1.6.44, run:
brew reinstall libpng
|
Mac OS X building all dependencies
jpeg-turbo 3.0.4 is already installed and up-to-date.
To reinstall 3.0.4, run:
brew reinstall jpeg-turbo
|
Mac OS X building all dependencies
giflib 5.2.2 is already installed and up-to-date.
To reinstall 5.2.2, run:
brew reinstall giflib
|
Run screenshot tests on dist/demo/browser/main
44 skipped
66 passed (1.7m)
|
Run screenshot tests on dist/demo/browser
1 flaky
[webkit] › tests/core/data-list/data-list.pw.spec.ts:6:9 › DataList › Custom list ──────────────
44 skipped
65 passed (2.5m)
|
Loading