react-native-reanimated icon indicating copy to clipboard operation
react-native-reanimated copied to clipboard

Test predefined entering animation

Open Latropos opened this issue 9 months ago • 1 comments

Summary

The tests require about 1minute 40s to run.

The new tests:

  • verify that all the exported predefined entering animations have stable behaviour
  • verify that they work with our most important modifiers: springify & duration

Test plan

https://github.com/software-mansion/react-native-reanimated/assets/56199675/88f0879f-86f6-47e5-bfd2-1300b528a63e

Latropos avatar May 09 '24 10:05 Latropos

@szydlovsky

Looks great, I've ran the tests from the branch myself and 125 tests got skipped - is that supposed to be that way?

I've forgot to delete only decorator, now all the tests run

Latropos avatar May 14 '24 13:05 Latropos

@szydlovsky This is an expected error, and we want to check that it is thrown. Unfortunately you can't hide render error dialogs in __DEV__ mode, you can only dismis all the yellow warnings.

I suppose that the screenshot above comes from this test: https://github.com/software-mansion/react-native-reanimated/blob/4ecf9fb7e466b349fbfc2002e13373029995b4c9/app/src/examples/RuntimeTests/tests/animations/withTiming/easing.test.tsx#L86-L98

Latropos avatar May 15 '24 12:05 Latropos

@Latropos Alright, if all this is expected I don't see any more issues :shipit:

szydlovsky avatar May 15 '24 13:05 szydlovsky