New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 642949 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Task



Sign in to add a comment

High level end to end automated tests for drag and drop on Android

Project Member Reported by hush@chromium.org, Aug 31 2016

Issue description

Drag and drop in blink is already well tested by unit tests and layout tests, in a platform independent way.

We now need some tests to cover the end to end logic on Android.


 
Owner: yolandyan@chromium.org

Comment 2 by hush@chromium.org, Sep 2 2016

Cc: hush@chromium.org sbirch@chromium.org sgu...@chromium.org
Since we don't have drag and drop on L and M, writing the test as an instrumentation test won't be possible, because the bots on commit queue are on K (or L?)

I have tried using org.chromium.content.browser.test.util.TouchCommon#dragStart/dragEnd/dragTo.

But they don't work for text fields inside webview, for some reason I don't know.
I was able to start the drag and drop, but the motion events are somehow not recognized as drag events by the Android platform.

Yoland has been investigating writing tests using Espresso. So he may take a look.

Will work on this after first UI test lands

Comment 5 by sgu...@chromium.org, Sep 27 2017

Cc: -sgu...@chromium.org

Comment 6 by aluo@chromium.org, Feb 6 2018

Owner: aluo@chromium.org
Transition yoland@'s CTS bugs to aluo@.
Labels: Type-Task
Bulk move tasks.

Sign in to add a comment