You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# we skip the rest of the test if you are not using lavapipe
# images come out subtly differently when using different wgpu adapters
# so for now we only compare screenshots generated with the same adapter (lavapipe)
# a benefit of using pytest.skip is that you are still running
# the first part of the test everywhere else; ensuring that examples
# can at least import, run and render something
if not is_lavapipe:
pytest.skip("screenshot comparisons are only done when using lavapipe")
In regard to screenshot diffs being generated, pygfx just skips if not lavapipe
@kushalkolar we could add to ours as well, not sure if it is a good long term solution
Activity
clewis7 commentedon Jun 21, 2023
In regard to screenshot diffs being generated, pygfx just skips if not lavapipe
@kushalkolar we could add to ours as well, not sure if it is a good long term solution
clewis7 commentedon Jun 26, 2023
@kushalkolar should we add in the above about skipping screenshot comparison of a test if lavapipe is not being used locally to avoid rendering diffs?
kushalkolar commentedon Jun 26, 2023
[-]more test stuff[/-][+]increasing test coverage[/+]kushalkolar commentedon Jun 4, 2024
all this exists now except emulating mouse events, but we have another issue for that.