Nala Visual Compare nomenclature #561
Replies: 3 comments 16 replies
-
Here is a follow-up question for the location structure, for the screenshots directory that needs to be committed per this documentation (https://playwright.dev/docs/test-snapshots) last paragraph. I was thinking we could do two options:
I don't have a strong opinion on either option, just wanting to get community input on what makes more sense. |
Beta Was this translation helpful? Give feedback.
-
What does everything think about how this structure is set up? I have screenshots going into the screenshots directory, but with subdirectories specific to visual compare tests and different team directories as shown below for both the base screenshots and the visual tests themselves: |
Beta Was this translation helpful? Give feedback.
-
If we are going to save screenshots to the cloud are we all agreeing that it should be in AWS, i.e. S3? |
Beta Was this translation helpful? Give feedback.
-
What are everyone's thoughts about visual tests having the same name as a functionality test but instead of a different file extension?
For example,
functionality test => columns.test.js
visual compare test => columns.vc.test.js
Playwright looks for test files based on this pattern by default *.test.js so this naming will work.
Beta Was this translation helpful? Give feedback.
All reactions