webkit2gtk-drag-and-drop manual

low

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

Description

Test HTML5 drag-and-drop support in WebKit2GTK.


Resources

  • A touch-screen.
  • A mouse.

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 the test program:
  2. $ /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.