Closed tcmulder closed 3 months ago
Tried this, but was having a lot of issues (one of which is that the page.$() selector function could never find anything on the page, so I needed to do a very precise regex of raw HTML to test things). I think they're starting to transition to puppeteer, so maybe support will get better after that's finished.
Looks like https://www.npmjs.com/package/@wordpress/e2e-test-utils is not the way to go, but https://www.npmjs.com/package/@wordpress/e2e-test-utils-playwright works better. I have a working concept that checks a few things set up as a plugin.
Available here: