I am trying to find a way to make the --update-snapshots flag wait for a few seconds before taking the snapshots since I have certain elements on my pages that take a few seconds to appear. The comparison spec seems to be slightly slower and the reference snapshots that I get from the aforementioned flag end up having missing elements, that I'd rather not omit from the tests. Has anyone tackled this problem and how did you solve it?
This thread is trying to answer question "How to add delay to --update-snapshots command option?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].