Add scale attribute to button, combobox and select #323
Annotations
13 errors, 8 warnings, and 2 notices
[firefox] › src/avatar/avatar.test.ts:22:1 › With Image:
packages/components/src/avatar/avatar.test.ts#L25
1) [firefox] › src/avatar/avatar.test.ts:22:1 › With Image ───────────────────────────────────────
Error: Screenshot comparison failed:
666 pixels (ratio 0.66 of all image pixels) are different.
Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-avatar-avatar-With-Image-firefox/avatar-with-image-expected.png
Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-avatar-avatar-With-Image-firefox/avatar-with-image-actual.png
Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-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
|
[firefox] › src/avatar/avatar.test.ts:22:1 › With Image:
packages/components/src/avatar/avatar.test.ts#L25
1) [firefox] › src/avatar/avatar.test.ts:22:1 › With Image ───────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
666 pixels (ratio 0.66 of all image pixels) are different.
Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-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/src-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/src-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
|
[firefox] › src/avatar/avatar.test.ts:22:1 › With Image:
packages/components/src/avatar/avatar.test.ts#L25
1) [firefox] › src/avatar/avatar.test.ts:22:1 › With Image ───────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
666 pixels (ratio 0.66 of all image pixels) are different.
Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-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/src-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/src-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
|
[chromium] › src/anchor/anchor.base.test.ts:29:3 › jpAnchor › receive focus when focused programatically:
packages/components/src/anchor/anchor.base.test.ts#L1
2) [chromium] › src/anchor/anchor.base.test.ts:29:3 › jpAnchor › receive focus when focused programatically
Test timeout of 30000ms exceeded.
|
[chromium] › src/anchor/anchor.base.test.ts:29:3 › jpAnchor › receive focus when focused programatically:
packages/components/src/anchor/anchor.base.test.ts#L31
2) [chromium] › src/anchor/anchor.base.test.ts:29:3 › jpAnchor › receive focus when focused programatically
Error: locator.waitFor: Target closed
=========================== logs ===========================
waiting for locator('jp-anchor') to be visible
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resol
|
[chromium] › src/anchor/anchor.base.test.ts:29:3 › jpAnchor › receive focus when focused programatically:
packages/components/src/anchor/anchor.base.test.ts#L1
2) [chromium] › src/anchor/anchor.base.test.ts:29:3 › jpAnchor › receive focus when focused programatically
Pending operations:
- locator.waitFor at src/anchor/anchor.base.test.ts:31:19
|
[chromium] › src/avatar/avatar.test.ts:22:1 › With Image:
packages/components/src/avatar/avatar.test.ts#L25
3) [chromium] › src/avatar/avatar.test.ts:22:1 › With Image ──────────────────────────────────────
Error: Screenshot comparison failed:
666 pixels (ratio 0.66 of all image pixels) are different.
Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-avatar-avatar-With-Image-chromium/avatar-with-image-expected.png
Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-avatar-avatar-With-Image-chromium/avatar-with-image-actual.png
Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-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
|
[firefox] › src/slider/slider.test.ts:14:1 › Vertical:
packages/components/src/slider/slider.test.ts#L17
4) [firefox] › src/slider/slider.test.ts:14:1 › Vertical ─────────────────────────────────────────
Error: Screenshot comparison failed:
41907 pixels (ratio 0.52 of all image pixels) are different.
Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-slider-slider-Vertical-firefox/slider-vertical-expected.png
Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-slider-slider-Vertical-firefox/slider-vertical-actual.png
Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-slider-slider-Vertical-firefox/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
|
[webkit] › src/avatar/avatar.test.ts:22:1 › With Image:
packages/components/src/avatar/avatar.test.ts#L25
5) [webkit] › src/avatar/avatar.test.ts:22:1 › With Image ────────────────────────────────────────
Error: Screenshot comparison failed:
2975 pixels (ratio 0.73 of all image pixels) are different.
Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-avatar-avatar-With-Image-webkit/avatar-with-image-expected.png
Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-avatar-avatar-With-Image-webkit/avatar-with-image-actual.png
Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-avatar-avatar-With-Image-webkit/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
|
[webkit] › src/radio-group/radio-group.test.ts:30:1 › Read-only:
packages/components/src/radio-group/radio-group.test.ts#L33
6) [webkit] › src/radio-group/radio-group.test.ts:30:1 › Read-only ───────────────────────────────
Error: Screenshot comparison failed:
3313 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-radio-group-radio-group-Read-only-webkit/radio-group-read-only-expected.png
Received: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-radio-group-radio-group-Read-only-webkit/radio-group-read-only-actual.png
Diff: /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/test-results/src-radio-group-radio-group-Read-only-webkit/radio-group-read-only-diff.png
31 | await page.goto('/iframe.html?id=components-radio-group--with-read-only');
32 |
> 33 | expect(await page.locator('jp-radio-group').screenshot()).toMatchSnapshot(
| ^
34 | 'radio-group-read-only.png'
35 | );
36 | });
at /home/runner/work/jupyter-ui-toolkit/jupyter-ui-toolkit/packages/components/src/radio-group/radio-group.test.ts:33:61
|
[webkit] › src/anchor/anchor.base.test.ts:29:3 › jpAnchor › receive focus when focused programatically:
packages/components/src/anchor/anchor.base.test.ts#L1
1) [webkit] › src/anchor/anchor.base.test.ts:29:3 › jpAnchor › receive focus when focused programatically
Test timeout of 30000ms exceeded.
|
[webkit] › src/anchor/anchor.base.test.ts:29:3 › jpAnchor › receive focus when focused programatically:
packages/components/src/anchor/anchor.base.test.ts#L31
1) [webkit] › src/anchor/anchor.base.test.ts:29:3 › jpAnchor › receive focus when focused programatically
Error: locator.waitFor: Target closed
=========================== logs ===========================
waiting for locator('jp-anchor') to be visible
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolved to hidden <jp-anchor href="#" id="anchor1" class="neutral" appearance…>Hello</jp-anchor>
locator resolve
|
[webkit] › src/anchor/anchor.base.test.ts:29:3 › jpAnchor › receive focus when focused programatically:
packages/components/src/anchor/anchor.base.test.ts#L1
1) [webkit] › src/anchor/anchor.base.test.ts:29:3 › jpAnchor › receive focus when focused programatically
Pending operations:
- locator.waitFor at src/anchor/anchor.base.test.ts:31:19
|
visual-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Slow Test:
packages/components/[chromium] › src/anchor/anchor.base.test.ts#L1
packages/components/[chromium] › src/anchor/anchor.base.test.ts took 31.4s
|
Slow Test:
packages/components/[firefox] › src/select/select.base.test.ts#L1
packages/components/[firefox] › src/select/select.base.test.ts took 23.4s
|
Slow Test:
packages/components/[webkit] › src/select/select.base.test.ts#L1
packages/components/[webkit] › src/select/select.base.test.ts took 21.8s
|
Slow Test:
packages/components/[chromium] › src/select/select.base.test.ts#L1
packages/components/[chromium] › src/select/select.base.test.ts took 15.1s
|
Slow Test:
packages/components/[webkit] › src/anchor/anchor.base.test.ts#L1
packages/components/[webkit] › src/anchor/anchor.base.test.ts took 32.3s
|
Slow Test:
packages/components/[firefox] › src/select/select.base.test.ts#L1
packages/components/[firefox] › src/select/select.base.test.ts took 24.1s
|
Slow Test:
packages/components/[webkit] › src/select/select.base.test.ts#L1
packages/components/[webkit] › src/select/select.base.test.ts took 22.0s
|
🎭 Playwright Run Summary
1 failed
[firefox] › src/avatar/avatar.test.ts:22:1 › With Image ────────────────────────────────────────
5 flaky
[chromium] › src/anchor/anchor.base.test.ts:29:3 › jpAnchor › receive focus when focused programatically
[chromium] › src/avatar/avatar.test.ts:22:1 › With Image ───────────────────────────────────────
[firefox] › src/slider/slider.test.ts:14:1 › Vertical ──────────────────────────────────────────
[webkit] › src/avatar/avatar.test.ts:22:1 › With Image ─────────────────────────────────────────
[webkit] › src/radio-group/radio-group.test.ts:30:1 › Read-only ────────────────────────────────
6 skipped
477 passed (3.8m)
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/anchor/anchor.base.test.ts:29:3 › jpAnchor › receive focus when focused programatically
6 skipped
482 passed (3.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
jupyter-ui-test
Expired
|
2.38 MB |
|