Skip to content

fix(core): fix overriding default dropdown options #9705

fix(core): fix overriding default dropdown options

fix(core): fix overriding default dropdown options #9705

Triggered via pull request October 4, 2024 14:34
Status Failure
Total duration 15m 12s
Artifacts 3

e2e.yml

on: pull_request
Cypress / Component Testing
3m 50s
Cypress / Component Testing
Matrix: playwright
E2E result
10s
E2E result
Playwright E2E Tests matrix result
0s
Playwright E2E Tests matrix result
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 1 warning, and 18 notices
[chromium] › tests/kit/data-wrap-list/data-wrap-list.spec.ts:8:9 › DataListWrapper › show nothing found: 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
[chromium] › tests/kit/data-wrap-list/data-wrap-list.spec.ts:8:9 › DataListWrapper › show nothing found: 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
[chromium] › tests/kit/data-wrap-list/data-wrap-list.spec.ts:8:9 › DataListWrapper › show nothing found: 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
Playwright / (6 of 9)
Process completed with exit code 1.
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/textfield: projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/textfield ───────────────────── Error: Screenshot comparison failed: Expected an image 640px by 464px, received 640px by 320px. 7404 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/components-textfield/3-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-textfield-chromium/components-textfield/3-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-textfield-chromium/components-textfield/3-diff.png Call log: - expect.toHaveScreenshot(components-textfield/3.png) with timeout 5000ms - verifying given screenshot expectation - waiting for getByTestId('tui-doc-example').nth(2) - 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 - Expected an image 640px by 464px, received 640px by 320px. 7404 pixels (ratio 0.03 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for getByTestId('tui-doc-example').nth(2) - 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 - Expected an image 640px by 464px, received 640px by 320px. 7404 pixels (ratio 0.03 of all image pixels) are different. 35 | await documentation.waitStableState(); // note: load lazy loading images 36 | > 37 | await expect(example).toHaveScreenshot( | ^ 38 | [path.replace('/', '').replaceAll('/', '-'), `${i + 1}.png`], 39 | {threshold: 0.02}, 40 | ); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:37:39
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/textfield: projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/textfield ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: Expected an image 640px by 464px, received 640px by 320px. 7404 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/components-textfield/3-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-textfield-chromium-retry1/components-textfield/3-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-textfield-chromium-retry1/components-textfield/3-diff.png Call log: - expect.toHaveScreenshot(components-textfield/3.png) with timeout 5000ms - verifying given screenshot expectation - waiting for getByTestId('tui-doc-example').nth(2) - 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 - Expected an image 640px by 464px, received 640px by 320px. 7404 pixels (ratio 0.03 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for getByTestId('tui-doc-example').nth(2) - 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 - Expected an image 640px by 464px, received 640px by 320px. 7404 pixels (ratio 0.03 of all image pixels) are different. 35 | await documentation.waitStableState(); // note: load lazy loading images 36 | > 37 | await expect(example).toHaveScreenshot( | ^ 38 | [path.replace('/', '').replaceAll('/', '-'), `${i + 1}.png`], 39 | {threshold: 0.02}, 40 | ); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:37:39
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/textfield: projects/demo-playwright/tests/demo/demo.spec.ts#L37
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/textfield ───────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: Expected an image 640px by 464px, received 640px by 320px. 7404 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.spec.ts-snapshots/components-textfield/3-chromium-linux.png Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-textfield-chromium-retry2/components-textfield/3-actual.png Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-components-textfield-chromium-retry2/components-textfield/3-diff.png Call log: - expect.toHaveScreenshot(components-textfield/3.png) with timeout 5000ms - verifying given screenshot expectation - waiting for getByTestId('tui-doc-example').nth(2) - 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 - Expected an image 640px by 464px, received 640px by 320px. 7404 pixels (ratio 0.03 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for getByTestId('tui-doc-example').nth(2) - 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 - Expected an image 640px by 464px, received 640px by 320px. 7404 pixels (ratio 0.03 of all image pixels) are different. 35 | await documentation.waitStableState(); // note: load lazy loading images 36 | > 37 | await expect(example).toHaveScreenshot( | ^ 38 | [path.replace('/', '').replaceAll('/', '-'), `${i + 1}.png`], 39 | {threshold: 0.02}, 40 | ); at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:37:39
Playwright / (5 of 9)
Process completed with exit code 1.
E2E result
Process completed with exit code 1.
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.5m)
🎭 Playwright Run Summary
97 passed (1.3m)
🎭 Playwright Run Summary
96 passed (1.2m)
🎭 Playwright Run Summary
96 passed (1.4m)
🎭 Playwright Run Summary
97 passed (1.3m)
🎭 Playwright Run Summary
97 passed (1.5m)
🎭 Playwright Run Summary
96 passed (1.4m)
🎭 Playwright Run Summary
96 passed (1.6m)
🎭 Playwright Run Summary
97 passed (2.0m)
🎭 Playwright Run Summary
97 passed (1.7m)
🎭 Playwright Run Summary
97 passed (1.9m)
🎭 Playwright Run Summary
1 failed [chromium] › tests/kit/data-wrap-list/data-wrap-list.spec.ts:8:9 › DataListWrapper › show nothing found 96 passed (1.7m)
🎭 Playwright Run Summary
1 failed [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /components/textfield ────────────────────── 96 passed (2.1m)
🎭 Playwright Run Summary
97 passed (2.5m)
🎭 Playwright Run Summary
97 passed (2.3m)
🎭 Playwright Run Summary
97 passed (2.9m)
🎭 Playwright Run Summary
97 passed (3.8m)
🎭 Playwright Run Summary
97 passed (4.9m)

Artifacts

Produced during runtime
Name Size
cy_baseline_7ee936b1bc66a197e84f80ef2cc60f1a0e339e74 Expired
23.8 KB
playwright-e2e-artifacts--7ee936b1bc66a197e84f80ef2cc60f1a0e339e74-11181863522-9348_5 Expired
49.3 KB
playwright-e2e-artifacts--7ee936b1bc66a197e84f80ef2cc60f1a0e339e74-11181863522-9348_6 Expired
7.31 KB