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

[BUG] Map Visualization Test Screenshot Failing #311

Open
DMalone87 opened this issue Dec 20, 2023 · 0 comments
Open

[BUG] Map Visualization Test Screenshot Failing #311

DMalone87 opened this issue Dec 20, 2023 · 0 comments

Comments

@DMalone87
Copy link
Collaborator

Describe the bug
We currently rely on Jest to handle our front-end testing. The Map visualization test seems to repeatedly fail when using a screenshot generated by the test update function.

To Reproduce
Steps to reproduce the behavior:

  1. Download the repo and make a change to the UI
  2. Update the test screenshots (npm test -- -u from the web container)
  3. Run the tests (npm run test). The tests will pass locally.
  4. Upload your changes in a new PR
  5. The tests will fail in GitHub

Expected behavior
When screenshots are generated and pass the tests locally, they should also pass tests on GitHub. The test results are meant to be deterministic.

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