fix(core): fix overriding default dropdown options #9705
Annotations
4 errors and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/data-wrap-list/data-wrap-list.spec.ts#L20
1) [chromium] › tests/kit/data-wrap-list/data-wrap-list.spec.ts:8:9 › DataListWrapper › show nothing found
Error: Screenshot comparison failed:
Expected an image 256px by 80px, received 572px by 80px.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/data-wrap-list/data-wrap-list.spec.ts-snapshots/01-data-list-wrapper-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-data-wrap-list-d-778d3-tWrapper-show-nothing-found-chromium/01-data-list-wrapper-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-data-wrap-list-d-778d3-tWrapper-show-nothing-found-chromium/01-data-list-wrapper-diff.png
Call log:
- expect.toHaveScreenshot(01-data-list-wrapper.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-dropdown tui-data-list-wrapper')
- locator resolved to <tui-data-list-wrapper size="s" class="ng-star-inserted" _nghost-ng-c4024285666="" emptycontent="No results found">…</tui-data-list-wrapper>
- 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
- Expected an image 256px by 80px, received 572px by 80px.
- waiting 100ms before taking screenshot
- waiting for locator('tui-dropdown tui-data-list-wrapper')
- locator resolved to <tui-data-list-wrapper size="s" class="ng-star-inserted" _nghost-ng-c4024285666="" emptycontent="No results found">…</tui-data-list-wrapper>
- 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
- Expected an image 256px by 80px, received 572px by 80px.
18 | await input.pressSequentially('1');
19 |
> 20 | await expect(page.locator('tui-dropdown tui-data-list-wrapper')).toHaveScreenshot(
| ^
21 | '01-data-list-wrapper.png',
22 | );
23 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/data-wrap-list/data-wrap-list.spec.ts:20:74
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/data-wrap-list/data-wrap-list.spec.ts#L20
1) [chromium] › tests/kit/data-wrap-list/data-wrap-list.spec.ts:8:9 › DataListWrapper › show nothing found
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 256px by 80px, received 572px by 80px.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/data-wrap-list/data-wrap-list.spec.ts-snapshots/01-data-list-wrapper-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-data-wrap-list-d-778d3-tWrapper-show-nothing-found-chromium-retry1/01-data-list-wrapper-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-data-wrap-list-d-778d3-tWrapper-show-nothing-found-chromium-retry1/01-data-list-wrapper-diff.png
Call log:
- expect.toHaveScreenshot(01-data-list-wrapper.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-dropdown tui-data-list-wrapper')
- locator resolved to <tui-data-list-wrapper size="s" class="ng-star-inserted" _nghost-ng-c4024285666="" emptycontent="No results found">…</tui-data-list-wrapper>
- 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
- Expected an image 256px by 80px, received 572px by 80px.
- waiting 100ms before taking screenshot
- waiting for locator('tui-dropdown tui-data-list-wrapper')
- locator resolved to <tui-data-list-wrapper size="s" class="ng-star-inserted" _nghost-ng-c4024285666="" emptycontent="No results found">…</tui-data-list-wrapper>
- 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
- Expected an image 256px by 80px, received 572px by 80px.
18 | await input.pressSequentially('1');
19 |
> 20 | await expect(page.locator('tui-dropdown tui-data-list-wrapper')).toHaveScreenshot(
| ^
21 | '01-data-list-wrapper.png',
22 | );
23 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/data-wrap-list/data-wrap-list.spec.ts:20:74
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/data-wrap-list/data-wrap-list.spec.ts#L20
1) [chromium] › tests/kit/data-wrap-list/data-wrap-list.spec.ts:8:9 › DataListWrapper › show nothing found
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 256px by 80px, received 572px by 80px.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/data-wrap-list/data-wrap-list.spec.ts-snapshots/01-data-list-wrapper-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-data-wrap-list-d-778d3-tWrapper-show-nothing-found-chromium-retry2/01-data-list-wrapper-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-data-wrap-list-d-778d3-tWrapper-show-nothing-found-chromium-retry2/01-data-list-wrapper-diff.png
Call log:
- expect.toHaveScreenshot(01-data-list-wrapper.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-dropdown tui-data-list-wrapper')
- locator resolved to <tui-data-list-wrapper size="s" class="ng-star-inserted" _nghost-ng-c4024285666="" emptycontent="No results found">…</tui-data-list-wrapper>
- 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
- Expected an image 256px by 80px, received 572px by 80px.
- waiting 100ms before taking screenshot
- waiting for locator('tui-dropdown tui-data-list-wrapper')
- locator resolved to <tui-data-list-wrapper size="s" class="ng-star-inserted" _nghost-ng-c4024285666="" emptycontent="No results found">…</tui-data-list-wrapper>
- 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
- Expected an image 256px by 80px, received 572px by 80px.
18 | await input.pressSequentially('1');
19 |
> 20 | await expect(page.locator('tui-dropdown tui-data-list-wrapper')).toHaveScreenshot(
| ^
21 | '01-data-list-wrapper.png',
22 | );
23 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/data-wrap-list/data-wrap-list.spec.ts:20:74
|
Run screenshot tests on dist/demo/browser/main
Process completed with exit code 1.
|
Run screenshot tests on dist/demo/browser
97 passed (1.9m)
|
Run screenshot tests on dist/demo/browser/main
1 failed
[chromium] › tests/kit/data-wrap-list/data-wrap-list.spec.ts:8:9 › DataListWrapper › show nothing found
96 passed (1.7m)
|
Loading