Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Blocked - Investigate drag-and-drop for UI tests #482

Closed
ldimaggi opened this issue Dec 9, 2016 · 2 comments
Closed

Blocked - Investigate drag-and-drop for UI tests #482

ldimaggi opened this issue Dec 9, 2016 · 2 comments
Assignees

Comments

@ldimaggi
Copy link
Contributor

ldimaggi commented Dec 9, 2016

This will be needed for tests to validate re-ordering the backlog through drag and drop of workitems in the UI.

http://stackoverflow.com/questions/25664551/how-to-simulate-a-drag-and-drop-action-in-protractor

elem = Element you want to move;
target = Element where you want to drop elem;

For WebdriverJS:-
browser.driver.actions().dragAndDrop(elem,target).perform();

For Protractor:-
browser.actions().dragAndDrop(elem,target).perform();

browser.actions().dragAndDrop(elem, target).perform();
Where dragAndDrop behind the scenes is mouseDown + mouseMove + mouseUp:
https://github.com/SeleniumHQ/selenium/blob/ab1e647d0fc8fc39e6b00ae94321ab228b6728f2/javascript/webdriver/actionsequence.js#L218-L229

@ldimaggi ldimaggi self-assigned this Dec 9, 2016
@ldimaggi ldimaggi changed the title Investigate drag-and-drop for UI tests Blocked - Investigate drag-and-drop for UI tests Mar 15, 2017
@ldimaggi
Copy link
Contributor Author

Tests are written - but blocked by bugs in Protractor.

@ldimaggi
Copy link
Contributor Author

Closing - see:

#554

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant