webkit2gtk-ac-animations manual
medium
- Image Types:
- basesdk-amd64 / sdk-amd64 / target-armhf-internal / target-armhf / target-amd64
- Image Deployment:
- APT
- Type:
- functional
Description
Test that compositing layers are created for animating properly.
Resources
- A monitor connected to the testing target.
Pre Conditions
- Clone the tests repository from another computer (Note that the branch being tested may change depending on the release, please make sure to clone the correct branch for the release in question):
- Copy the test directory webkit2gtk to the target device:
- Log into the target device:
$ git clone --branch apertis/v2020 https://gitlab.apertis.org/tests/webkit2gtk.git
$ DUT_IP=<device-ip>
$ scp -r webkit2gtk user@$DUT_IP:
$ ssh user@$DUT_IP
Execution Steps
- Run MiniBrowser with the path of the HTML as argument:
- Verify animation match the reference rendering below.
- Either close MiniBrowser and run the following command, or just copy/paste the URI into the existing window:
- Verify animation match the reference rendering below.
$ /usr/lib/*/webkit2gtk-4.0/MiniBrowser --draw-compositing-indicators=true webkit2gtk/animation1.html
$ /usr/lib/*/webkit2gtk-4.0/MiniBrowser --draw-compositing-indicators=true webkit2gtk/animation2.html
Expected
In the first URI, the two squares will rotate for 10 seconds. While rotating, they should have a blue border, which indicates they are AC layers. The expected rendering can be seen in the following video:
The second URI will again show two blue squares. Both will move to the right and animate their opacity at the same time, so will go from blue to white and back. They should have borders while animating. The expected rendering can be seen in the following video:
images/AC-animation-keyframe-opacity.ogv
If the result does not match the squares as seen in the videos above, the test has failed.
Notes
- Not working under X11 or VirtualBox, see: https://phabricator.apertis.org/T2625