|
|
|
@ -32,7 +32,7 @@ require("@4tw/cypress-drag-drop");
|
|
|
|
|
// recursively gets an element, returning only after it's determined to be attached to the DOM for good
|
|
|
|
|
Cypress.Commands.add('getSettled', (selector, opts = {}) => { |
|
|
|
|
const retries = opts.retries || 3; |
|
|
|
|
const delay = opts.delay || 300; |
|
|
|
|
const delay = opts.delay || 400; |
|
|
|
|
|
|
|
|
|
const isAttached = (resolve, count = 0) => { |
|
|
|
|
const el = Cypress.$(selector); |
|
|
|
|