- SSH into guest VM.
- sudo nano /etc/hosts
- Add in the following
127.0.0.1 abc.localhost
- Ensure acceptance.yml is correct.
# Codeception Test Suite Configuration # suite for acceptance tests. # perform tests in browser using the Selenium-like tools. # powered by Mink (http://mink.behat.org). # (tip: that's what your customer will see). # (tip: test your ajax and javascript by one of Mink drivers). # RUN `build` COMMAND AFTER ADDING/REMOVING MODULES. class_name: WebGuy modules: enabled: - PhpBrowser - WebHelper config: PhpBrowser: url: 'http://abc.localhost'
Then you run the command php codecept.phar run
inside your guest vm