【发布时间】:2021-07-23 10:57:16
【问题描述】:
我正在使用这个 plagin https://github.com/4teamwork/cypress-drag-drop
这里 id 是动态生成的 - 因此使用 id 无法识别。有什么替代方法? cy.get('itemlocation').drag('目标位置') 在这里我无法识别目标位置,因为 id 是动态的 :( 它实际上是一个堆栈面板,它有 3 列带有动态 ID。全图为click for detail
【问题讨论】:
标签: drag-and-drop cypress