Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken regression tests #29

Open
mojoaxel opened this issue Apr 19, 2023 · 0 comments
Open

broken regression tests #29

mojoaxel opened this issue Apr 19, 2023 · 0 comments

Comments

@mojoaxel
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant