Currently the screenshot tests validate appearances and not animation frames or behaviors. We need to change the way animations work in Codename One to use a single configurable source of time that is not System.currentTimemillis() and can be replaced by client code. This will allow a category of test that would set the time to various stages of an animation and grab a screenshot from first frame to last. Then it can compose 6 screenshots into a single animation frame composite that we can verify visually using the existing CI pipeline.
Currently the screenshot tests validate appearances and not animation frames or behaviors. We need to change the way animations work in Codename One to use a single configurable source of time that is not
System.currentTimemillis()and can be replaced by client code. This will allow a category of test that would set the time to various stages of an animation and grab a screenshot from first frame to last. Then it can compose 6 screenshots into a single animation frame composite that we can verify visually using the existing CI pipeline.