Automated acceptance tests with Codeception
- Start selenium server: java -jar "/path to the server/selenium-server-standalone-3.141.59.jar"
- Start chrome driver: chromedriver --url-base=/wd/hub
- Latest version of Chrome (Version 83) browser is required
This command will run all available acceptance tests: ./vendor/bin/codecept run acceptance
In order the tests to work successfully, the following parameters must be provided:
modules:
enabled:
- WebDriver:
url: '[YOUR APPLICATION URL]' #the base url of the application under test
<?php
const password = '[YOUR PASSWORD]'; // the password of the user
const username = '[YOUR USERNAME]'; // the username
?>