I'm trying to run tests for multiple sites by using different environments. The sites all follow the same template, so a generic test is enough to cover them all.
In my acceptance.suite.yml file I set up all the environments with the different urls.
In my Cest file, I have a load of functions that are called in a specific environment, and set up some variables that may differ between sites, log in info, etc.
I then call the same function for every environment.
When I'm running the acceptance tests I tell it which environments to run using multiple '--env foo'.
This all works, but I have over 20 sites to test, which means writing 20 '--env foo' every time I want to run a test. Seems a bit much.
Is there a better way?