【发布时间】:2017-04-04 12:47:08
【问题描述】:
我最近开始使用TestCafe,我正在尝试使用t.dragToElement(selector, destinationSelector)方法。
问题是,直到我开始拖动,dropzone 才会出现。它使用display: none 隐藏并出现在DragStart 上。因此 TestCafe 失败了
The element that matches the specified "destinationSelector" is not visible.
问:有什么想法,如何让TestCafe单击并按住并拖动一点然后拖动到目的地然后释放?
【问题讨论】:
标签: javascript drag-and-drop automated-tests testcafe ui-testing