Skip to content

Change disabled button style #257

Change disabled button style

Change disabled button style #257

Triggered via pull request November 20, 2023 14:37
Status Failure
Total duration 11m 31s
Artifacts 1

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: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: 884 pixels (ratio 0.87 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: 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: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: 173 pixels (ratio 0.17 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)
[chromium] › src/slider-label/slider-label.test.ts:6:5 › Default: packages/components/src/slider-label/slider-label.test.ts#L9
2) [chromium] › src/slider-label/slider-label.test.ts:6:5 › Default ────────────────────────────── Error: Screenshot comparison failed: 68870 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-label-slider-label-Default-chromium/slider-label-default-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-slider-label-slider-label-Default-chromium/slider-label-default-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-slider-label-slider-label-Default-chromium/slider-label-default-diff.png 7 | await page.goto('/iframe.html?id=components-slider-label--default'); 8 | > 9 | expect(await page.locator('body').screenshot()).toMatchSnapshot( | ^ 10 | 'slider-label-default.png' 11 | ); 12 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/slider-label/slider-label.test.ts:9:51 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[chromium] › src/slider-label/slider-label.test.ts:6:5 › Default: packages/components/src/slider-label/slider-label.test.ts#L9
2) [chromium] › src/slider-label/slider-label.test.ts:6:5 › Default ────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 68896 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-label-slider-label-Default-chromium-retry1/slider-label-default-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-slider-label-slider-label-Default-chromium-retry1/slider-label-default-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-slider-label-slider-label-Default-chromium-retry1/slider-label-default-diff.png 7 | await page.goto('/iframe.html?id=components-slider-label--default'); 8 | > 9 | expect(await page.locator('body').screenshot()).toMatchSnapshot( | ^ 10 | 'slider-label-default.png' 11 | ); 12 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/slider-label/slider-label.test.ts:9:51 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[chromium] › src/slider-label/slider-label.test.ts:6:5 › Default: packages/components/src/slider-label/slider-label.test.ts#L9
2) [chromium] › src/slider-label/slider-label.test.ts:6:5 › Default ────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 68890 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-label-slider-label-Default-chromium-retry2/slider-label-default-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-slider-label-slider-label-Default-chromium-retry2/slider-label-default-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-slider-label-slider-label-Default-chromium-retry2/slider-label-default-diff.png 7 | await page.goto('/iframe.html?id=components-slider-label--default'); 8 | > 9 | expect(await page.locator('body').screenshot()).toMatchSnapshot( | ^ 10 | 'slider-label-default.png' 11 | ); 12 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/slider-label/slider-label.test.ts:9:51 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[firefox] › src/accordion-item/accordion-item.test.ts:6:5 › Default: packages/components/src/accordion-item/accordion-item.test.ts#L9
3) [firefox] › src/accordion-item/accordion-item.test.ts:6:5 › Default ─────────────────────────── Error: Screenshot comparison failed: 5052 pixels (ratio 0.90 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-accordion-item-accordion-item-Default-firefox/accordion-item-default-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-accordion-item-accordion-item-Default-firefox/accordion-item-default-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-accordion-item-accordion-item-Default-firefox/accordion-item-default-diff.png 7 | await page.goto('/iframe.html?id=components-accordion-item--default'); 8 | > 9 | expect(await page.locator('jp-accordion-item').screenshot()).toMatchSnapshot( | ^ 10 | 'accordion-item-default.png' 11 | ); 12 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/accordion-item/accordion-item.test.ts:9:64 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[firefox] › src/accordion-item/accordion-item.test.ts:6:5 › Default: packages/components/src/accordion-item/accordion-item.test.ts#L9
3) [firefox] › src/accordion-item/accordion-item.test.ts:6:5 › Default ─────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 5099 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-accordion-item-accordion-item-Default-firefox-retry1/accordion-item-default-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-accordion-item-accordion-item-Default-firefox-retry1/accordion-item-default-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-accordion-item-accordion-item-Default-firefox-retry1/accordion-item-default-diff.png 7 | await page.goto('/iframe.html?id=components-accordion-item--default'); 8 | > 9 | expect(await page.locator('jp-accordion-item').screenshot()).toMatchSnapshot( | ^ 10 | 'accordion-item-default.png' 11 | ); 12 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/accordion-item/accordion-item.test.ts:9:64 at fulfilled (/home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/node_modules/tslib/tslib.js:166:62)
[firefox] › src/accordion-item/accordion-item.test.ts:6:5 › Default: packages/components/src/accordion-item/accordion-item.test.ts#L9
3) [firefox] › src/accordion-item/accordion-item.test.ts:6:5 › Default ─────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 5064 pixels (ratio 0.90 of all image pixels) are different. Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-accordion-item-accordion-item-Default-firefox-retry2/accordion-item-default-expected.png Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-accordion-item-accordion-item-Default-firefox-retry2/accordion-item-default-actual.png Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/tests-out-accordion-item-accordion-item-Default-firefox-retry2/accordion-item-default-diff.png 7 | await page.goto('/iframe.html?id=components-accordion-item--default'); 8 | > 9 | expect(await page.locator('jp-accordion-item').screenshot()).toMatchSnapshot( | ^ 10 | 'accordion-item-default.png' 11 | ); 12 | }); at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/accordion-item/accordion-item.test.ts:9:64 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
4) [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)
Slow Test: packages/components/[webkit] › src/number-field/number-field.test.ts#L1
packages/components/[webkit] › src/number-field/number-field.test.ts took 16.7s
Slow Test: packages/components/[firefox] › src/button/button.test.ts#L1
packages/components/[firefox] › src/button/button.test.ts took 15.6s
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 ─────────────────────────────────────── [chromium] › src/slider-label/slider-label.test.ts:6:5 › Default ─────────────────────────────── [firefox] › src/accordion-item/accordion-item.test.ts:6:5 › Default ──────────────────────────── [firefox] › src/avatar/avatar.test.ts:22:5 › With Image ──────────────────────────────────────── [webkit] › src/button/button.test.ts:30:5 › Lightweight ──────────────────────────────────────── 55 flaky [chromium] › src/avatar/avatar.test.ts:6:5 › Default ─────────────────────────────────────────── [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:22:5 › With Disabled ──────────────────────────────────── [chromium] › src/slider-label/slider-label.test.ts:14:5 › With Hide Mark ─────────────────────── [chromium] › src/toolbar/toolbar.test.ts:6:5 › Default ───────────────────────────────────────── [chromium] › src/tooltip/tooltip.test.ts:7:5 › Default ───────────────────────────────────────── [firefox] › src/anchor/anchor.test.ts:6:5 › Default ──────────────────────────────────────────── [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:6:5 › Accent ───────────────────────────────────────────── [firefox] › src/button/button.test.ts:54:5 › With Start Icon ─────────────────────────────────── [firefox] › src/checkbox/checkbox.test.ts:22:5 › Disabled ────────────────────────────────────── [firefox] › src/combobox/combobox.test.ts:14:5 › Disabled ────────────────────────────────────── [firefox] › src/date-field/date-field.test.ts:30:5 › With Readonly ───────────────────────────── [firefox] › src/menu/menu.test.ts:6:5 › Default ──────────────────────────────────────────────── [firefox] › src/number-field/number-field.test.ts:30:5 › With Disabled ───────────────────────── [firefox] › src/number-field/number-field.test.ts:62:5 › With Start Icon ─────────────────────── [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/slider/slider.test.ts:22:5 › With Disabled ───────────────────────────────────── [firefox] › src/switch/switch.test.ts:14:5 › Checked ─────────────────────────────────────────── [firefox] › src/tabs/tabs.test.ts:6:5 › Default ──────────────────────────────────────────────── [firefox] › src/tabs/tabs.test.ts:14:5 › Vertical ────────────────────────────────────────────── [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/accordion.test.ts:6:5 › Default ─────────────────────────────────────── [webkit] › src/accordion-item/accordion-item.test.ts:6:5 › Default ───────────────────────────── [webkit] › src/breadcrumb/breadcrumb.test.ts:24:5 › With Start Icon ──────────────────────────── [webkit] › src/breadcrumb-item/breadcrumb-item.test.ts:22:5 › With Start Icon ────────────────── [webkit] › src/button/button.test.ts:62:5 › Icon Only ────────────────────────────────────────── [webkit] › src/combobox/combob
🎭 Playwright Run Summary
6 skipped 333 passed (2.4m)

Artifacts

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