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

Tests of withDelay #6150

Merged
merged 7 commits into from
Jun 27, 2024
Merged

Tests of withDelay #6150

merged 7 commits into from
Jun 27, 2024

Conversation

Latropos
Copy link
Contributor

@Latropos Latropos commented Jun 21, 2024

Summary

Tests of withDelay consist may look a bit complicated, because they contain a bit more logic than other tests. It's because I want to make very peculiar snapshot tests that verify, if withDelay modifier really keeps the same animation.
So I compare snapshots of animations with and withoutDelay, and they should be the same (except for some static animation at the beginning).

This way it should be very quick easy to add more tests if we spot and fix some specific bug related to this animation modifier.

One test case is commented out, as it doesn't pass - we have more than one frame of unexpeced delay when using withDelay animation modifier.

Test plan

@Latropos Latropos changed the title Tests of **withDelay** Tests of withDelay Jun 21, 2024
@Latropos Latropos marked this pull request as ready for review June 24, 2024 10:23
@Latropos Latropos requested a review from piaskowyk June 24, 2024 15:48
Copy link
Contributor

@szydlovsky szydlovsky left a comment

Choose a reason for hiding this comment

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

Some small NIT but apart from that seems like a solid suite

@Latropos Latropos enabled auto-merge June 27, 2024 08:18
@Latropos Latropos added this pull request to the merge queue Jun 27, 2024
Merged via the queue into main with commit cfdf8ff Jun 27, 2024
5 checks passed
@Latropos Latropos deleted the acyn/withDelay branch June 27, 2024 14:53
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.

3 participants