feat(core): add close methods for dropdown context directive #11038
Annotations
4 errors, 5 warnings, and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/dropdown-context/dropdown-context.pw.spec.ts#L17
1) [webkit] › tests/kit/dropdown-context/dropdown-context.pw.spec.ts:8:9 › DropdownContext › opens dropdown on right click
Error: expect(locator).toHaveScreenshot(expected)
316791 pixels (ratio 0.25 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/dropdown-context/dropdown-context.pw.spec.ts-snapshots/01-dropdown-context-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-dropdown-context-624d8-ens-dropdown-on-right-click-webkit/01-dropdown-context-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-dropdown-context-624d8-ens-dropdown-on-right-click-webkit/01-dropdown-context-diff.png
Call log:
- expect.toHaveScreenshot(01-dropdown-context.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#context-menu [automation-id="tui-doc-example"]')
- 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
- 316791 pixels (ratio 0.25 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#context-menu [automation-id="tui-doc-example"]')
- 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
- 316791 pixels (ratio 0.25 of all image pixels) are different.
15 | await api.waitStableState();
16 |
> 17 | await expect(example).toHaveScreenshot('01-dropdown-context.png');
| ^
18 | });
19 |
20 | test('closes previous dropdown after new one is opened', async ({page}) => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/dropdown-context/dropdown-context.pw.spec.ts:17:31
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/dropdown-context/dropdown-context.pw.spec.ts#L17
1) [webkit] › tests/kit/dropdown-context/dropdown-context.pw.spec.ts:8:9 › DropdownContext › opens dropdown on right click
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
316791 pixels (ratio 0.25 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/dropdown-context/dropdown-context.pw.spec.ts-snapshots/01-dropdown-context-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-dropdown-context-624d8-ens-dropdown-on-right-click-webkit-retry1/01-dropdown-context-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-dropdown-context-624d8-ens-dropdown-on-right-click-webkit-retry1/01-dropdown-context-diff.png
Call log:
- expect.toHaveScreenshot(01-dropdown-context.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#context-menu [automation-id="tui-doc-example"]')
- 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
- 316791 pixels (ratio 0.25 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#context-menu [automation-id="tui-doc-example"]')
- 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
- 316791 pixels (ratio 0.25 of all image pixels) are different.
15 | await api.waitStableState();
16 |
> 17 | await expect(example).toHaveScreenshot('01-dropdown-context.png');
| ^
18 | });
19 |
20 | test('closes previous dropdown after new one is opened', async ({page}) => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/dropdown-context/dropdown-context.pw.spec.ts:17:31
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/dropdown-context/dropdown-context.pw.spec.ts#L17
1) [webkit] › tests/kit/dropdown-context/dropdown-context.pw.spec.ts:8:9 › DropdownContext › opens dropdown on right click
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
316791 pixels (ratio 0.25 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/dropdown-context/dropdown-context.pw.spec.ts-snapshots/01-dropdown-context-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-dropdown-context-624d8-ens-dropdown-on-right-click-webkit-retry2/01-dropdown-context-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-dropdown-context-624d8-ens-dropdown-on-right-click-webkit-retry2/01-dropdown-context-diff.png
Call log:
- expect.toHaveScreenshot(01-dropdown-context.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#context-menu [automation-id="tui-doc-example"]')
- 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
- 316791 pixels (ratio 0.25 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#context-menu [automation-id="tui-doc-example"]')
- 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
- 316791 pixels (ratio 0.25 of all image pixels) are different.
15 | await api.waitStableState();
16 |
> 17 | await expect(example).toHaveScreenshot('01-dropdown-context.png');
| ^
18 | });
19 |
20 | test('closes previous dropdown after new one is opened', async ({page}) => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/dropdown-context/dropdown-context.pw.spec.ts:17:31
|
Run screenshot tests on dist/demo/browser/main
Process completed with exit code 1.
|
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
1 failed
[webkit] › tests/kit/dropdown-context/dropdown-context.pw.spec.ts:8:9 › DropdownContext › opens dropdown on right click
18 skipped
90 passed (2.0m)
|
Run screenshot tests on dist/demo/browser
18 skipped
91 passed (2.1m)
|
Loading