garris / BackstopJS

Catch CSS curve balls.
http://backstopjs.org
MIT License
6.78k stars 603 forks source link

Playwright fixes: ?? and missing test scripts #1379

Closed FrostyShosty closed 2 years ago

FrostyShosty commented 2 years ago

Refs #1142

There are two fixes in this PR: 1) I removed the ?? operator, only supported in ECMAScript 11 for better backwards compatibility. Sorry about slipping it in there!

2) I copied in the playwright scripts missing from the test case. Now all smoke tests seem to pass. I've also updated the reference images for the 'cookies', 'click', and 'keyPressSelector' tests that weren't successfully passing before.