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:
- In case of an SDK image, switch to a new terminal and launch agl-compositor.
- Lilliput/LVDS touch screens must be connected to the respective targets
$ git clone --branch apertis/v2024dev3 https://gitlab.apertis.org/tests/webkit2gtk.git
$ DUT_IP=<device-ip>
$ scp -r webkit2gtk user@$DUT_IP:
$ ssh user@$DUT_IP
Execution Steps
- When executing the test on the target
- Run MiniBrowser with the path of the HTML as argument:
- When testing on SDK launch the agl-compositor on a second terminal
- Open the web browser from the compositor menu
$ /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".