-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Is your feature request related to a problem? Please describe.
I have similar problem you propose to solve using delay env config. But instead of waiting for an animation in the generated storybook, i want to wait a few ms before taking the snapshots. More specifically before cy.document() call.
Describe the solution you'd like
Basically following check before cy.document() call would do:
if (Cypress.env("delaySnapshot") {
cy.wait(Cypress.env("delaySnapshot"))
}
Describe alternatives you've considered
Currently I've patched the package and added it myself. I can open the PR if you guys want.
Additional context
N/A
zernie
Metadata
Metadata
Assignees
Labels
No labels