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

Fix screenshot tests #6623

Merged
merged 4 commits into from
Nov 9, 2022
Merged

Fix screenshot tests #6623

merged 4 commits into from
Nov 9, 2022

Conversation

daniel-wer
Copy link
Member

@daniel-wer daniel-wer commented Nov 9, 2022

By always initializing mapping color texture with EMPTY_KEY. Otherwise, the content of the texture is undefined which led to issues during our automated nightly tests (presumably, because the texture contained lots of 1s, segment 1 was not rendered correctly).

URL of deployed dev instance (used for testing):

Steps to test:

  • CI is sufficient

Issues:


(Please delete unneeded items, merge only when none are left open)

@daniel-wer daniel-wer self-assigned this Nov 9, 2022
…ataset no longer appears and meshes are now smoothed, also only persist a diff image if the pixel difference was significant (and the test failed)
@daniel-wer
Copy link
Member Author

@philippotto This was actually the fix 🎉

I updated some more screenshots, because the error toast that was partly visible in some of them no longer appears and because the meshes are now smoothed. If all screenshot tests except for the connectome one succeed this should be ready to go (the connectome viewer is not enabled for this branch) once the temporary changes are reverted.

@daniel-wer daniel-wer changed the title Attempt to fix nightly tests Fix screenshot tests Nov 9, 2022
@daniel-wer
Copy link
Member Author

Screenshot tests look good: https://app.circleci.com/pipelines/github/scalableminds/webknossos/8868/workflows/bc5ac41a-3c51-47a1-9d88-3002de4e6cea/jobs/20233/steps (see my last comment for why the connectome dataset fails)

Copy link
Member

@philippotto philippotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 🙌

@philippotto
Copy link
Member

I hope it's alright if I merge this PR already. From my side, it's looking very good :) Then, we can have a green nightly tonight hopefully 🤞 Otherwise, a follow-up should do it.

@philippotto philippotto merged commit a2a524f into master Nov 9, 2022
@philippotto philippotto deleted the fix-cuckoo-texture-init branch November 9, 2022 18:33
hotzenklotz added a commit that referenced this pull request Nov 11, 2022
…cing

* 'master' of github.com:scalableminds/webknossos:
  Fix parsing failure during import of ngff zarr datasets with translation transforms (#6621)
  Fix rerender after each layer name keypress in dataset import view (#6628)
  Create a layer for each channel of NGFF-Zarr datasets (#6609)
  Fix screenshot tests (#6623)
  Fix importing a dataset from disk (#6615)
  Allow deleting annotation layers (#6593)
  Rephrased Error Messages (#6616)
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

Successfully merging this pull request may close these issues.

Nightly screenshot tests fail
2 participants