Cannot Get Working Setup for Running Acceptance Tests according to README #286
Labels
good first issue
Simple enough issue to start with.
status:ready for adoption
Feel free to implement this issue.
type:docs
Documentation
I wanted to understand how testing works with Yii2. I cannot run the acceptance tests.
I am refering to the section Running acceptance tests the
README
of this application template repository.What steps will reproduce the problem?
Install Yii2 basic app template:
composer create-project --prefer-dist yiisoft/yii2-app-basic yii2-app-basic-testing
=> App and packages are installed OKRename
tests/acceptance.suite.yml.example
totests/acceptance.suite.yml
=> doneInstall
codeception/codeception
: The packagecodeception/codeception
is already installed by default composer requirement (so the related line in README seems redundant)Run Selenium standalone:
java -jar -Dwebdriver.chrome.driver=~/chromedriver.exe selenium-server-standalone-3.141.59.jar
=> app is installed OKStart web server:
tests/bin/yii serve
=> server is running OKRun tests:
vendor\bin\codecept run
=> Error, see belowWhat's expected?
Have all tests run
What do you get instead?
The following error is shown:
Install codeception/module-webdriver as per above results in
Also with option
--with-all-dependencies (-W)
Additional info
Thank you.
The text was updated successfully, but these errors were encountered: