angular / protractor

E2E test framework for Angular apps
http://www.protractortest.org
MIT License
8.75k stars 2.31k forks source link

dragAndDrop NOT working on Chrome #5479

Open T-e-j-k-u-m-a-r opened 4 years ago

T-e-j-k-u-m-a-r commented 4 years ago

const { browser, element } = require("protractor") browser.waitForAngularEnabled(false) describe("DD Demo",function(){

it("TC01_DD Demo",function()
{
    browser.get("http://the-internet.herokuapp.com/drag_and_drop")
    browser.manage().window().maximize()

   var ele1 = element(by.css("#column-a"));
   var ele2 = element(by.css("#column-b"))

    browser.sleep(5000)

   browser.actions().dragAndDrop(ele1.getWebElement(),ele2.getWebElement()).perform()

    browser.close()

})

})

T-e-j-k-u-m-a-r commented 4 years ago

Please software version details

Protractor: 7.0.0 Chrome Browser: Version 86.0.4240.111 (Official Build) (64-bit)

T-e-j-k-u-m-a-r commented 4 years ago

Issue Description: The src element gets clicked(left click) but it's not dragged to the destination or target location.

T-e-j-k-u-m-a-r commented 4 years ago

Tried the below plugin, It's working fine

https://www.npmjs.com/package/html-dnd