webkit2gtk-ac-scrolling manual

medium

Image Types:
basesdk-amd64 / sdk-amd64 / target-armhf-internal / target-amd64
Image Deployment:
APT
Type:
functional

Description

Test that actors created for representing layers scroll properly.


Resources

  • A monitor connected to the testing target.
  • A mouse or touchscreen.

Pre Conditions

  1. 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):
  2. $ git clone --branch apertis/v2020dev0 https://gitlab.apertis.org/tests/webkit2gtk.git

  3. Copy the test directory webkit2gtk to the target device:
  4. $ DUT_IP=<device-ip>

    $ scp -r webkit2gtk user@$DUT_IP:

  5. Log into the target device:
  6. $ ssh user@$DUT_IP


Execution Steps

  1. Run MiniBrowser telling it to use 400x400 and loading the test page:
  2. $ /usr/lib/*/webkit2gtk-4.0/MiniBrowser --draw-compositing-indicators=true -g 400x400 webkit2gtk/scroll-composited.html

  3. Scroll the page to the left until you can see the GraphicsLayerActor border, verify that it scrolls along with the text above it.

Expected

After the test page is loaded, the border of the GraphicsLayerActor must scroll in sync with the rest of the content as shown in the following video:

https://www.apertis.org/static/AC-scrolling.ogv

This test will be considered a PASS if it works with at least one of mouse or touchpad because this is not a test for the mouse or touchpad working.

Notes

  • Not working under X11 or VirtualBox, see: https://phabricator.apertis.org/T2625