Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Protractor failed to drag and drop elements #2293

@wangfeiv

Description

@wangfeiv

I tried to use protractor to simulate dragAndDrop, but it did not work, and there was no any error about it, below is my test code:

this.dragAndDropDashboardTab = function(source, target) {
// Way-1: it did not work
// browser.actions().dragAndDrop(source, target).perform();
// browser.actions()
// .mouseDown(source)
// .mouseMove(target)
// .mouseUp()
// .perform();
// Way-2: it did not work
// browser.actions().dragAndDrop(source, target).perform();
};

Who will tell me the work around? And would you like to help me fix this issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions