yiisoft / yii2-docker

Official Docker images suitable for Yii 2.0
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
381 stars 202 forks source link

Does somebody have a working example for Acceptance tests via Selenium? #133

Open gb5256 opened 3 years ago

gb5256 commented 3 years ago

Hi, I am trying to get acceptance tests working with selenium and firefox but I do not get it done. i am using the setup as described here, and installed a yii2-basic, which is accessible via localhost in the browser. So that works. I can also run the unit and functional tests without problems. But acceptance is tricky. I saw the comment from @schmunk42 about phd5 but that one is too complex for me to grasp (sorry). Is there a simple example of a bare to the bone docker-compose and acceptance.suite.yml that just works (especially with this yiisoft/yii2-docker).

Thanks for any help, gb5256

schmunk42 commented 3 years ago

For acceptance tests only, have a look at: https://github.com/dmstr/docker-acception