Open mikeselander opened 5 years ago
Also worth noting that Phantom.js (Casper's underlying tech) is no longer maintained.
If love to see something put in place here.
I’ve used puppeteer a little which is a node api for headless chrome and pretty nice to work with. Puppeteer + cucumber a JS framework for writing end to end tests in plain language - it is pretty nice - I’ve experimented with it a little but not got too far.
Ultimately I ran into issues with having to log in to WP, and these ar something which I think WordHat solves. This is similar although using Behat which is a PHP implementation of similar natural language tests. It uses Mink as a browser
We have casper.js loaded by default in this repo for (I assume) use as a frontend testing interface. I've never seen this used on one of our projects and I think we should open a discussion on what tool we should use as the canonical frontend testing tool.
I've heard K. Adam recommend Jest for JS testing and have heard good things about Cypress or a similar system for e2e integration testing.
Any thoughts on what our default tool of choice for frontend testing should be?