Skip to content

Create an animation based screenshot test #4809

@shai-almog

Description

@shai-almog

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions