In the context of Acceptance test, the drag-drop helper fails to trigger the dragend event on the correct element. The event should be called on the dragged element, but due to timing issues, it is called on the drop target element instead.
The fix is to pass the dragged element to the drop() helper function instead of its css selector, and use that element reference when calling triggerEvent. In our project, this change does not break Integration tests.
In the context of Acceptance test, the drag-drop helper fails to trigger the
dragend
event on the correct element. The event should be called on the dragged element, but due to timing issues, it is called on the drop target element instead. The fix is to pass the dragged element to thedrop()
helper function instead of its css selector, and use that element reference when callingtriggerEvent
. In our project, this change does not break Integration tests.