Problem with drag and drop #29151
Unanswered
jt7777777
asked this question in
Questions and Help
Replies: 2 comments 1 reply
-
I ended up using a plugin for my drag-and-drop implementation. Here's a blog post demonstrating the method I use. I hope it's helpful. |
Beta Was this translation helpful? Give feedback.
1 reply
-
cy.get('.Sourceelement').drag('Target', { you should be able to drag and drop the element by using the code above. I added the plugin for drag drop But, the same code which works for me to drag the element, doesn't work when i try to add connectors (draw a line) between two elements. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I am basically trying to move item 1 from left row to beggining on right row. My closest win was moving item on second position or under item 1 on right row. I would be really happy if someone could help me with this. Its in iframe so maybe thats a problem but i dont have much skills thats why i am seeking for help.
Here is my main code:
describe('Drag and Drop Test', () => {
Cypress.on('uncaught:exception', (err, runnable) => {
// Ignore exceptions that we don't care about
return false;
});
it('should perform drag and drop', () => {
cy.visit('https://www.globalsqa.com/demo-site/sorting/');
cy.get('li#Multiple\ Lists.resp-tab-item').click();
cy.wait(5000); // Wait for iframe content to load
});
});
Beta Was this translation helpful? Give feedback.
All reactions