我试图在可视时间线上移动一个项目,mousemove 发生但该项目不随鼠标移动。我正在使用下面的代码这样做
cy.get(`[data-testid="threshold testing - notify"]`).trigger("mousedown", {force: true}).trigger("mousemove", 200,0, {force: true}).trigger("mouseup", {force: true});
当我为 mousemove 删除 {force: true} 时,它会抛出 cy.trigger() failed 因为这个元素被另一个元素覆盖。我不知道如何发现它。知道如何使用 cypress 在 vis-timeline 上移动项目吗?
