An example of how to use WP Browser to run Codeception WebDriver acceptance tests against WordPress on Travis CI.
- You must use
http://127.0.0.1:8888
as the webdriver URL. Other ports will work, but if you try to uselocalhost
or leave out thehttp://
it will break. - You have to install WordPress, see
travis.sh
. - Currently failing on HHVM. PhantomJS says
XPath error : Invalid expression #user_login
.
See .travis.yml
for more details.