Skip to content

Change disabled button style #258

Change disabled button style

Change disabled button style #258

Triggered via pull request November 21, 2023 09:10
Status Failure
Total duration 10m 23s
Artifacts 1

visual-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 2 warnings, and 2 notices
[chromium] › src/avatar/avatar.test.ts:22:5 › With Image: packages/components/src/avatar/avatar.test.ts#L25
1) [chromium] › src/avatar/avatar.test.ts:22:5 › With Image ────────────────────────────────────── 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/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:5 › With Image: packages/components/src/avatar/avatar.test.ts#L25
1) [chromium] › src/avatar/avatar.test.ts:22:5 › 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-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:5 › With Image: packages/components/src/avatar/avatar.test.ts#L25
1) [chromium] › src/avatar/avatar.test.ts:22:5 › 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:5 › With Image: packages/components/src/avatar/avatar.test.ts#L25
2) [firefox] › src/avatar/avatar.test.ts:22:5 › 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:5 › With Image: packages/components/src/avatar/avatar.test.ts#L25
2) [firefox] › src/avatar/avatar.test.ts:22:5 › 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:5 › With Image: packages/components/src/avatar/avatar.test.ts#L25
2) [firefox] › src/avatar/avatar.test.ts:22:5 › 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/tabs/tabs.test.ts:6:5 › Default: packages/components/src/tabs/tabs.test.ts#L9
3) [firefox] › src/tabs/tabs.test.ts:6:5 › Default ─────────────────────────────────────────────── Error: Screenshot comparison failed: 18437 pixels (ratio 0.78 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-tabs-tabs-Default-firefox/tabs-default-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-tabs-tabs-Default-firefox/tabs-default-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-tabs-tabs-Default-firefox/tabs-default-diff.png 7 | await page.goto('/iframe.html?id=components-tabs--default'); 8 | > 9 | expect(await page.locator('jp-tabs').screenshot()).toMatchSnapshot( | ^ 10 | 'tabs-default.png' 11 | ); 12 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/tabs/tabs.test.ts:9:54 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[firefox] › src/tabs/tabs.test.ts:6:5 › Default: packages/components/src/tabs/tabs.test.ts#L9
3) [firefox] › src/tabs/tabs.test.ts:6:5 › Default ─────────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 18441 pixels (ratio 0.78 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-tabs-tabs-Default-firefox-retry1/tabs-default-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-tabs-tabs-Default-firefox-retry1/tabs-default-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-tabs-tabs-Default-firefox-retry1/tabs-default-diff.png 7 | await page.goto('/iframe.html?id=components-tabs--default'); 8 | > 9 | expect(await page.locator('jp-tabs').screenshot()).toMatchSnapshot( | ^ 10 | 'tabs-default.png' 11 | ); 12 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/tabs/tabs.test.ts:9:54 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[firefox] › src/tabs/tabs.test.ts:6:5 › Default: packages/components/src/tabs/tabs.test.ts#L9
3) [firefox] › src/tabs/tabs.test.ts:6:5 › Default ─────────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 18409 pixels (ratio 0.78 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-tabs-tabs-Default-firefox-retry2/tabs-default-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-tabs-tabs-Default-firefox-retry2/tabs-default-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-tabs-tabs-Default-firefox-retry2/tabs-default-diff.png 7 | await page.goto('/iframe.html?id=components-tabs--default'); 8 | > 9 | expect(await page.locator('jp-tabs').screenshot()).toMatchSnapshot( | ^ 10 | 'tabs-default.png' 11 | ); 12 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/tabs/tabs.test.ts:9:54 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[webkit] › src/slider/slider.test.ts:14:5 › Vertical: packages/components/src/slider/slider.test.ts#L17
4) [webkit] › src/slider/slider.test.ts:14:5 › Vertical ────────────────────────────────────────── Error: Screenshot comparison failed: 1017990 pixels (ratio 1.00 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-slider-slider-Vertical-webkit/slider-vertical-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-slider-slider-Vertical-webkit/slider-vertical-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-slider-slider-Vertical-webkit/slider-vertical-diff.png 15 | await page.goto('/iframe.html?id=components-slider--vertical'); 16 | > 17 | expect(await page.locator('body').screenshot()).toMatchSnapshot( | ^ 18 | 'slider-vertical.png' 19 | ); 20 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/slider/slider.test.ts:17:51 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
Slow Test: packages/components/[webkit] › src/text-field/text-field.test.ts#L1
packages/components/[webkit] › src/text-field/text-field.test.ts took 19.9s
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:5 › With Image ─────────────────────────────────────── [firefox] › src/avatar/avatar.test.ts:22:5 › With Image ──────────────────────────────────────── [firefox] › src/tabs/tabs.test.ts:6:5 › Default ──────────────────────────────────────────────── [webkit] › src/slider/slider.test.ts:14:5 › Vertical ─────────────────────────────────────────── [webkit] › src/text-field/text-field.test.ts:62:5 › With Readonly ────────────────────────────── 54 flaky [chromium] › src/checkbox/checkbox.test.ts:6:5 › Default ─────────────────────────────────────── [chromium] › src/combobox/combobox.test.ts:14:5 › Disabled ───────────────────────────────────── [chromium] › src/number-field/number-field.test.ts:54:5 › With Readonly ──────────────────────── [chromium] › src/radio/radio.test.ts:30:5 › Read-only ────────────────────────────────────────── [chromium] › src/slider/slider.test.ts:14:5 › Vertical ───────────────────────────────────────── [chromium] › src/switch/switch.test.ts:30:5 › With Messages ──────────────────────────────────── [chromium] › src/text-field/text-field.test.ts:30:5 › With Disabled ──────────────────────────── [firefox] › src/breadcrumb/breadcrumb.test.ts:32:5 › With End Icon ───────────────────────────── [firefox] › src/breadcrumb-item/breadcrumb-item.test.ts:6:5 › Default ────────────────────────── [firefox] › src/breadcrumb-item/breadcrumb-item.test.ts:14:5 › Without href ──────────────────── [firefox] › src/button/button.test.ts:54:5 › With Start Icon ─────────────────────────────────── [firefox] › src/card/card.test.ts:6:5 › Default ──────────────────────────────────────────────── [firefox] › src/combobox/combobox.test.ts:14:5 › Disabled ────────────────────────────────────── [firefox] › src/date-field/date-field.test.ts:22:5 › With Disabled ───────────────────────────── [firefox] › src/date-field/date-field.test.ts:30:5 › With Readonly ───────────────────────────── [firefox] › src/number-field/number-field.test.ts:30:5 › With Disabled ───────────────────────── [firefox] › src/option/option.test.ts:6:5 › Default ──────────────────────────────────────────── [firefox] › src/search/search.test.ts:14:5 › With Placeholder ────────────────────────────────── [firefox] › src/select/select.test.ts:14:5 › WithOpen ────────────────────────────────────────── [firefox] › src/text-area/text-area.test.ts:22:5 › With Autofocus ────────────────────────────── [firefox] › src/text-field/text-field.test.ts:22:5 › With Autofocus ──────────────────────────── [webkit] › src/accordion-item/accordion-item.test.ts:6:5 › Default ───────────────────────────── [webkit] › src/avatar/avatar.test.ts:6:5 › Default ───────────────────────────────────────────── [webkit] › src/avatar/avatar.test.ts:14:5 › Square ───────────────────────────────────────────── [webkit] › src/avatar/avatar.test.ts:22:5 › With Image ───────────────────────────────────────── [webkit] › src/badge/badge.test.ts:6:5 › Default ─────────────────────────────────────────────── [webkit] › src/breadcrumb-item/breadcrumb-item.test.ts:22:5 › With Start Icon ────────────────── [webkit] › src/button/button.test.ts:46:5 › With Disabled ────────────────────────────────────── [webkit] › src/button/button.test.ts:70:5 › Toggled ──────────────────────────────────────────── [webkit] › src/card/card.test.ts:6:5 › Default ───────────────────────────────────────────────── [webkit] › src/combobox/combobox.test.ts:22:5 › Custom Indicator ─────────────────────────────── [webkit] › src/listbox/listbox.test.ts:6:5 › Default ─────────────────────────────────────────── [webkit] › src/menu-item/menu-item.test.ts:14:5 › Disabled ───────────────────────────────────── [webkit] › src/number-field/number-field.test.ts:14:5 › With Placeholder ─────────────────────── [webkit] › src/number-field/number-field.test.ts:30:5 › With Disabled ────────────────────────── [webkit] › src/number-field/nu
🎭 Playwright Run Summary
6 skipped 333 passed (2.4m)

Artifacts

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