Frontent Testing Framework
Do you know anything interesting for testing Frontend?
I'm mainly looking for something for Visual Regression Test, something that will allow me to test given URLs and see what changes have occurred on a particular page after changes in the code.
In the sense that I take screenshots of 20 pages before the changes,
then I commit the changes, run an automated test and it shows me the differences in the screenshots (if there are any).
BrowserStack and Percy are too expensive.
I checked PlayWright, but it has problems with cookies and logging in.
I was thinking about Jest..., or Puppeteer. BackstopJS also seems interesting.
Maybe some of you can share your experiences?
I'm mainly looking for something for Visual Regression Test, something that will allow me to test given URLs and see what changes have occurred on a particular page after changes in the code.
In the sense that I take screenshots of 20 pages before the changes,
then I commit the changes, run an automated test and it shows me the differences in the screenshots (if there are any).
BrowserStack and Percy are too expensive.
I checked PlayWright, but it has problems with cookies and logging in.
I was thinking about Jest..., or Puppeteer. BackstopJS also seems interesting.
Maybe some of you can share your experiences?

Solution
This is a guess, but something I've seen before is that the event handler for forms (like login) will expect inputs to get/lose focus, or otherwise receive events that playwright injecting values will not trigger. Personally, if you can do a login by hand and watch for the ajax call, it'd probably be easier to just do the login API directly and not bother with the login screen.