ix-icons
ix-icons copied to clipboard
broken regression tests
I'm submitting a...
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
Current behavior
The test command yarn test
fails for me on the current main
branch:
Error: Screenshot comparison failed:
Timeout 5000ms exceeded.
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- Expected an image 1280px by 13754px, received 1280px by 17755px.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- Timeout 5000ms exceeded.
Expected: /home/delphin/Documents/workspaces/workspace_siemens/ix-icons/test-results/test-samples.e2e.js-example-test-chromium/example-test-1-expected.png
Received: /home/delphin/Documents/workspaces/workspace_siemens/ix-icons/test-results/test-samples.e2e.js-example-test-chromium/example-test-1-actual.png
11 | test('example test', async ({ page }) => {
12 | await page.goto('http://localhost:8080/sample.html');
> 13 | await expect(page).toHaveScreenshot({
| ^
14 | fullPage: true,
15 | });
16 | });
at /home/delphin/Documents/workspaces/workspace_siemens/ix-icons/test/samples.e2e.js:13:22
Expected behavior
Test on the main
branch should be green.