Skip to content

Add listbox component #207

Add listbox component

Add listbox component #207

Triggered via pull request July 26, 2023 07:58
Status Failure
Total duration 22m 38s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

visual-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 3 warnings, and 2 notices
[chromium] › src/avatar/avatar.test.ts:22:1 › With Image: packages/components/src/avatar/avatar.test.ts#L25
1) [chromium] › src/avatar/avatar.test.ts:22:1 › With Image ────────────────────────────────────── Error: Screenshot comparison failed: 867 pixels (ratio 0.85 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-chromium/avatar-with-image-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-chromium/avatar-with-image-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-chromium/avatar-with-image-diff.png 23 | await page.goto('/iframe.html?id=components-avatar--with-image'); 24 | > 25 | expect(await page.locator('jp-avatar').screenshot()).toMatchSnapshot( | ^ 26 | 'avatar-with-image.png' 27 | ); 28 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/avatar/avatar.test.ts:25:56 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[chromium] › src/avatar/avatar.test.ts:22:1 › With Image: packages/components/src/avatar/avatar.test.ts#L25
1) [chromium] › src/avatar/avatar.test.ts:22:1 › With Image ────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 1 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-chromium-retry1/avatar-with-image-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-chromium-retry1/avatar-with-image-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-chromium-retry1/avatar-with-image-diff.png 23 | await page.goto('/iframe.html?id=components-avatar--with-image'); 24 | > 25 | expect(await page.locator('jp-avatar').screenshot()).toMatchSnapshot( | ^ 26 | 'avatar-with-image.png' 27 | ); 28 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/avatar/avatar.test.ts:25:56 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[chromium] › src/avatar/avatar.test.ts:22:1 › With Image: packages/components/src/avatar/avatar.test.ts#L25
1) [chromium] › src/avatar/avatar.test.ts:22:1 › With Image ────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 871 pixels (ratio 0.86 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-chromium-retry2/avatar-with-image-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-chromium-retry2/avatar-with-image-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-chromium-retry2/avatar-with-image-diff.png 23 | await page.goto('/iframe.html?id=components-avatar--with-image'); 24 | > 25 | expect(await page.locator('jp-avatar').screenshot()).toMatchSnapshot( | ^ 26 | 'avatar-with-image.png' 27 | ); 28 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/avatar/avatar.test.ts:25:56 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[firefox] › src/avatar/avatar.test.ts:22:1 › With Image: packages/components/src/avatar/avatar.test.ts#L25
2) [firefox] › src/avatar/avatar.test.ts:22:1 › With Image ─────────────────────────────────────── Error: Screenshot comparison failed: 869 pixels (ratio 0.85 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-firefox/avatar-with-image-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-firefox/avatar-with-image-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-firefox/avatar-with-image-diff.png 23 | await page.goto('/iframe.html?id=components-avatar--with-image'); 24 | > 25 | expect(await page.locator('jp-avatar').screenshot()).toMatchSnapshot( | ^ 26 | 'avatar-with-image.png' 27 | ); 28 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/avatar/avatar.test.ts:25:56 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[firefox] › src/avatar/avatar.test.ts:22:1 › With Image: packages/components/src/avatar/avatar.test.ts#L25
2) [firefox] › src/avatar/avatar.test.ts:22:1 › With Image ─────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 699 pixels (ratio 0.69 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-firefox-retry1/avatar-with-image-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-firefox-retry1/avatar-with-image-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-firefox-retry1/avatar-with-image-diff.png 23 | await page.goto('/iframe.html?id=components-avatar--with-image'); 24 | > 25 | expect(await page.locator('jp-avatar').screenshot()).toMatchSnapshot( | ^ 26 | 'avatar-with-image.png' 27 | ); 28 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/avatar/avatar.test.ts:25:56 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[firefox] › src/avatar/avatar.test.ts:22:1 › With Image: packages/components/src/avatar/avatar.test.ts#L25
2) [firefox] › src/avatar/avatar.test.ts:22:1 › With Image ─────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 869 pixels (ratio 0.85 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-firefox-retry2/avatar-with-image-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-firefox-retry2/avatar-with-image-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-avatar-avatar-With-Image-firefox-retry2/avatar-with-image-diff.png 23 | await page.goto('/iframe.html?id=components-avatar--with-image'); 24 | > 25 | expect(await page.locator('jp-avatar').screenshot()).toMatchSnapshot( | ^ 26 | 'avatar-with-image.png' 27 | ); 28 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/avatar/avatar.test.ts:25:56 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[firefox] › src/number-field/number-field.test.ts:6:1 › Default: packages/components/src/number-field/number-field.test.ts#L9
3) [firefox] › src/number-field/number-field.test.ts:6:1 › Default ─────────────────────────────── Error: Screenshot comparison failed: 4724 pixels (ratio 0.34 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-number-field-number-field-Default-firefox/number-field-default-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-number-field-number-field-Default-firefox/number-field-default-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-number-field-number-field-Default-firefox/number-field-default-diff.png 7 | await page.goto('/iframe.html?id=components-number-field--default'); 8 | > 9 | expect(await page.locator('jp-number-field').screenshot()).toMatchSnapshot( | ^ 10 | 'number-field-default.png' 11 | ); 12 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/number-field/number-field.test.ts:9:62 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[firefox] › src/number-field/number-field.test.ts:6:1 › Default: packages/components/src/number-field/number-field.test.ts#L9
3) [firefox] › src/number-field/number-field.test.ts:6:1 › Default ─────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 4781 pixels (ratio 0.34 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-number-field-number-field-Default-firefox-retry1/number-field-default-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-number-field-number-field-Default-firefox-retry1/number-field-default-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-number-field-number-field-Default-firefox-retry1/number-field-default-diff.png 7 | await page.goto('/iframe.html?id=components-number-field--default'); 8 | > 9 | expect(await page.locator('jp-number-field').screenshot()).toMatchSnapshot( | ^ 10 | 'number-field-default.png' 11 | ); 12 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/number-field/number-field.test.ts:9:62 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[firefox] › src/number-field/number-field.test.ts:6:1 › Default: packages/components/src/number-field/number-field.test.ts#L9
3) [firefox] › src/number-field/number-field.test.ts:6:1 › Default ─────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 4740 pixels (ratio 0.34 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-number-field-number-field-Default-firefox-retry2/number-field-default-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-number-field-number-field-Default-firefox-retry2/number-field-default-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-number-field-number-field-Default-firefox-retry2/number-field-default-diff.png 7 | await page.goto('/iframe.html?id=components-number-field--default'); 8 | > 9 | expect(await page.locator('jp-number-field').screenshot()).toMatchSnapshot( | ^ 10 | 'number-field-default.png' 11 | ); 12 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/number-field/number-field.test.ts:9:62 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[firefox] › src/switch/switch.test.ts:22:1 › Disabled: packages/components/src/switch/switch.test.ts#L25
4) [firefox] › src/switch/switch.test.ts:22:1 › Disabled ───────────────────────────────────────── Error: Screenshot comparison failed: 2140 pixels (ratio 0.91 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-switch-switch-Disabled-firefox/switch-disabled-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-switch-switch-Disabled-firefox/switch-disabled-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-switch-switch-Disabled-firefox/switch-disabled-diff.png 23 | await page.goto('/iframe.html?id=components-switch--with-disabled'); 24 | > 25 | expect(await page.locator('jp-switch').screenshot()).toMatchSnapshot( | ^ 26 | 'switch-disabled.png' 27 | ); 28 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/switch/switch.test.ts:25:56 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
Slow Test: packages/components/[webkit] › src/number-field/number-field.test.ts#L1
packages/components/[webkit] › src/number-field/number-field.test.ts took 18.6s
Slow Test: packages/components/[firefox] › src/number-field/number-field.test.ts#L1
packages/components/[firefox] › src/number-field/number-field.test.ts took 16.7s
visual-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
🎭 Playwright Run Summary
5 failed [chromium] › src/avatar/avatar.test.ts:22:1 › With Image ─────────────────────────────────────── [firefox] › src/avatar/avatar.test.ts:22:1 › With Image ──────────────────────────────────────── [firefox] › src/number-field/number-field.test.ts:6:1 › Default ──────────────────────────────── [firefox] › src/switch/switch.test.ts:22:1 › Disabled ────────────────────────────────────────── [webkit] › src/divider/divider.test.ts:14:1 › Vertical ───────────────────────────────────────── 33 flaky [chromium] › src/combobox/combobox.test.ts:14:1 › Disabled ───────────────────────────────────── [chromium] › src/number-field/number-field.test.ts:54:1 › With Readonly ──────────────────────── [chromium] › src/radio/radio.test.ts:30:1 › Read-only ────────────────────────────────────────── [chromium] › src/radio-group/radio-group.test.ts:22:1 › Disabled ─────────────────────────────── [chromium] › src/slider-label/slider-label.test.ts:6:1 › Default ─────────────────────────────── [chromium] › src/tooltip/tooltip.test.ts:7:1 › Default ───────────────────────────────────────── [firefox] › src/breadcrumb/breadcrumb.test.ts:32:1 › With End Icon ───────────────────────────── [firefox] › src/breadcrumb-item/breadcrumb-item.test.ts:6:1 › Default ────────────────────────── [firefox] › src/breadcrumb-item/breadcrumb-item.test.ts:14:1 › Without href ──────────────────── [firefox] › src/button/button.test.ts:22:1 › Neutral ─────────────────────────────────────────── [firefox] › src/combobox/combobox.test.ts:14:1 › Disabled ────────────────────────────────────── [firefox] › src/date-field/date-field.test.ts:30:1 › With Readonly ───────────────────────────── [firefox] › src/listbox/listbox.test.ts:14:1 › Disabled ──────────────────────────────────────── [firefox] › src/menu/menu.test.ts:6:1 › Default ──────────────────────────────────────────────── [firefox] › src/number-field/number-field.test.ts:30:1 › With Disabled ───────────────────────── [firefox] › src/radio-group/radio-group.test.ts:6:1 › Default ────────────────────────────────── [firefox] › src/search/search.test.ts:14:1 › With Placeholder ────────────────────────────────── [firefox] › src/select/select.test.ts:14:1 › WithOpen ────────────────────────────────────────── [firefox] › src/slider/slider.test.ts:6:1 › Default ──────────────────────────────────────────── [firefox] › src/text-field/text-field.test.ts:22:1 › With Autofocus ──────────────────────────── [webkit] › src/anchor/anchor.test.ts:6:1 › Default ───────────────────────────────────────────── [webkit] › src/breadcrumb-item/breadcrumb-item.test.ts:22:1 › With Start Icon ────────────────── [webkit] › src/combobox/combobox.test.ts:22:1 › Custom Indicator ─────────────────────────────── [webkit] › src/date-field/date-field.test.ts:38:1 › With Start Icon ──────────────────────────── [webkit] › src/number-field/number-field.test.ts:6:1 › Default ───────────────────────────────── [webkit] › src/number-field/number-field.test.ts:14:1 › With Placeholder ─────────────────────── [webkit] › src/number-field/number-field.test.ts:22:1 › With Autofocus ───────────────────────── [webkit] › src/number-field/number-field.test.ts:46:1 › With Max Length ──────────────────────── [webkit] › src/radio/radio.test.ts:22:1 › Disabled ───────────────────────────────────────────── [webkit] › src/radio-group/radio-group.test.ts:22:1 › Disabled ───────────────────────────────── [webkit] › src/select/select.test.ts:22:1 › WithDisabled ─────────────────────────────────────── [webkit] › src/tabs/tabs.test.ts:6:1 › Default ───────────────────────────────────────────────── [webkit] › src/text-field/text-field.test.ts:46:1 › With Type ────────────────────────────────── 3 skipped 292 passed (8.5m)
🎭 Playwright Run Summary
3 skipped 330 passed (5.3m)

Artifacts

Produced during runtime
Name Size
jupyter-ui-test Expired
7.89 MB