webkit2gtk-drag-and-drop manual
low
- Image Types:
- basesdk-amd64 / sdk-amd64 / target-armhf-internal / target-armhf / target-amd64
- Image Deployment:
- APT
- Type:
- functional
Description
Test HTML5 drag-and-drop support in WebKit2GTK.
Resources
- A touch-screen.
- A mouse.
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 the test program:
$ /usr/lib/*/webkit2gtk-4.0/MiniBrowser webkit2gtk/drag.html
Expected
Dragging with the mouse the first "Drag me!" box to the "Drop here" box below should copy the dragged item and should not pan the page.
Dragging with a single touch the first "Drag me!" box to the "Drop here" box below should copy the dragged item and should not pan the page.
Dragging with the mouse any "Drag me!" box from the main page to the "Drop here" box in the subframe below should copy the dragged item and should not pan the page.
Dragging with a single touch any "Drag me!" box from the main page to the "Drop here" box in the subframe below should copy the dragged item and should not pan the page
Dragging with the mouse any "Drag me!" box from the subframe to the "Drop here" box in the main page below should copy the dragged item and should not pan the page.
Dragging with a single touch any "Drag me!" box from the subframe to the "Drop here" box in the main page below should copy the dragged item and should not pan the page.
Dragging with the mouse the big images under the "Drop here" boxes should not initiate dragging but should pan the page.
Dragging with a single touch the big images under the "Drop here" boxes should not initiate dragging but should pan the page.
Dragging with the mouse in any point outside the "Drag me!" boxes should pan the page.
Dragging with a single touch in any point outside the "Drag me!" boxes should pan the page.