We use https://playwright.dev/docs/test-snapshots testing as part of our automated tests. We are debating as a team whether snapshots should be generated locally and committed or if they should be generated as part of CI/CD. I would like to hear from others as to how you are doing it and what pros/cons have you weighted?
For avoidance of confusion, we are debating between:
Option A:
Option B:
This thread is trying to answer question "Should snapshots for automated tests be generated locally and committed, or should they be generated as part of CI/CD?"
For others reference, I've also started poll on Reddit on the same subject https://www.reddit.com/r/webdev/comments/1742s62/conceptually_are_snapshots_supposed_to_be/
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].