https://cypress.io logo
Is there a way to tell cypress to assert that a co...
# e2e-testing
m
Is there a way to tell cypress to assert that a condition is true for a specific amount of time? I'm looking for something like (pseudo code):
Copy code
typescript
cy.get("#something").should("not.exist.for", "200ms")
I created this command to solve this, but I was wondering if there's something built-in that I've missed. https://gist.github.com/ksandin/c93206280af3793aec83df2346e19bbc