webkit2gtk-mt-touch-events manual
low
- Image Types:
- basesdk-amd64 / hmi-armhf / hmi-amd64 / sdk-amd64
- Image Deployment:
- APT
- Type:
- functional
Description
Test implementation of W3C touch events API in WebKit2GTK.
Resources
- A touch-screen with multiple touch points.
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/v2022 https://gitlab.apertis.org/tests/webkit2gtk.git
$ DUT_IP=<device-ip>
$ scp -r webkit2gtk user@$DUT_IP:
$ ssh user@$DUT_IP
Execution Steps
- Launch the test application with one of the URL in resources:
$ /usr/lib/*/webkit2gtk-4.0/MiniBrowser webkit2gtk/touchevents.html
Expected
Check that when sliding more than one finger within the canvas, lines of different colors are drawn in the "Touch canvas", each finger with its own.
Check that when pressing and dragging using the mouse, a line is drawn in the "Mouse canvas".