SimpleStripTable dataTestId fix #110
Annotations
4 errors, 1 warning, and 1 notice
tests/components.spec.ts#L115
1) [Google Chrome] › components.spec.ts:124:21 › Layout › LeftPanel | new-feature ────────────────
Error: Screenshot comparison failed:
293 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/shared-ui/shared-ui/tests/components.spec.ts-snapshots/Layout-LeftPanel-new-feature-1-Google-Chrome-linux.png
Received: /home/runner/work/shared-ui/shared-ui/test-results/components-Layout-LeftPanel-new-feature-Google-Chrome/Layout-LeftPanel-new-feature-1-actual.png
Diff: /home/runner/work/shared-ui/shared-ui/test-results/components-Layout-LeftPanel-new-feature-Google-Chrome/Layout-LeftPanel-new-feature-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 293 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 293 pixels (ratio 0.01 of all image pixels) are different.
113 | await page.locator('#storybook-preview-iframe').focus()
114 |
> 115 | await expect(page).toHaveScreenshot({ fullPage: true, omitBackground: true })
| ^
116 | }
117 |
118 | components.forEach((group) => {
at testMethod (/home/runner/work/shared-ui/shared-ui/tests/components.spec.ts:115:24)
at /home/runner/work/shared-ui/shared-ui/tests/components.spec.ts:125:21
|
tests/components.spec.ts#L115
1) [Google Chrome] › components.spec.ts:124:21 › Layout › LeftPanel | new-feature ────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
293 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/shared-ui/shared-ui/tests/components.spec.ts-snapshots/Layout-LeftPanel-new-feature-1-Google-Chrome-linux.png
Received: /home/runner/work/shared-ui/shared-ui/test-results/components-Layout-LeftPanel-new-feature-Google-Chrome-retry1/Layout-LeftPanel-new-feature-1-actual.png
Diff: /home/runner/work/shared-ui/shared-ui/test-results/components-Layout-LeftPanel-new-feature-Google-Chrome-retry1/Layout-LeftPanel-new-feature-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 293 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 293 pixels (ratio 0.01 of all image pixels) are different.
113 | await page.locator('#storybook-preview-iframe').focus()
114 |
> 115 | await expect(page).toHaveScreenshot({ fullPage: true, omitBackground: true })
| ^
116 | }
117 |
118 | components.forEach((group) => {
at testMethod (/home/runner/work/shared-ui/shared-ui/tests/components.spec.ts:115:24)
at /home/runner/work/shared-ui/shared-ui/tests/components.spec.ts:125:21
|
tests/components.spec.ts#L115
1) [Google Chrome] › components.spec.ts:124:21 › Layout › LeftPanel | new-feature ────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
293 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/shared-ui/shared-ui/tests/components.spec.ts-snapshots/Layout-LeftPanel-new-feature-1-Google-Chrome-linux.png
Received: /home/runner/work/shared-ui/shared-ui/test-results/components-Layout-LeftPanel-new-feature-Google-Chrome-retry2/Layout-LeftPanel-new-feature-1-actual.png
Diff: /home/runner/work/shared-ui/shared-ui/test-results/components-Layout-LeftPanel-new-feature-Google-Chrome-retry2/Layout-LeftPanel-new-feature-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 293 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 293 pixels (ratio 0.01 of all image pixels) are different.
113 | await page.locator('#storybook-preview-iframe').focus()
114 |
> 115 | await expect(page).toHaveScreenshot({ fullPage: true, omitBackground: true })
| ^
116 | }
117 |
118 | components.forEach((group) => {
at testMethod (/home/runner/work/shared-ui/shared-ui/tests/components.spec.ts:115:24)
at /home/runner/work/shared-ui/shared-ui/tests/components.spec.ts:125:21
|
|
[chromium] › components.spec.ts#L1
[chromium] › components.spec.ts took 9.7m
|
|
This job failed
Loading