我最近开始使用TestCafe,我正在尝试使用t.dragToElement(selector, destinationSelector)
方法。
问题是,直到我开始拖动,dropzone才会出现。它被隐藏使用display: none
并出现在DragStart上。因此 TestCafe 失败了
The element that matches the specified "destinationSelector" is not visible.
问:有什么想法,如何让TestCafe单击并按住并拖动一点然后拖动到目的地然后释放?