humanmade / altis-dev-tools

Dev Tools module for Altis
https://www.altis-dxp.com/resources/docs/dev-tools/
7 stars 2 forks source link

e2e testing tool #148

Open igmoweb opened 3 years ago

igmoweb commented 3 years ago

I'm currently experimenting with e2e testing in a project. It started with some sort of automation that let me do some boring and long tasks quickly but I ended up using Jest and WordPress e2e utils.

I'd like to propose the introduction of a dev tools command (something that Rob has already thought about) in Altis that lets you run e2e tests (if there's any) with composer dev-tools e2e or similar.

There are a few considerations before working on this feature:

I've created a little Gist that can serve as a guide of what files are needed to run the e2e scripts: https://gist.github.com/igmoweb/1d64f820a45b61036022b1270b5c24e3

roborourke commented 2 years ago

@shadyvb I'd forgotten about this one! Seems codeception covers it, not sure if it's possible to use the e2e-test-utils with that but I think we can close this out. Anything you think we should extract from here or capture elsewhere first?