You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
9 years ago | |
|---|---|---|
| .. | ||
| features | 9 years ago | |
| README.md | 9 years ago | |
| behat.yml | 9 years ago | |
README.md
In order to run tests locally:
-
An administrator user should be created with:
- Username "admin"
- Password "admin"
- First name John
- Last name Doe
- user_id = 1
-
Edit file tests/behat/behat.yml Update with your Chamilo local URL.
-
The main platform language must be in English.
-
Social network tool must be available.
-
Install Selenium 3
http://www.seleniumhq.org/download/
And run with:
java -jar /my-dir/selenium-server-standalone-3.1.0.jar
- Install Chrome driver, unzip and copy into /usr/bin
https://sites.google.com/a/chromium.org/chromedriver/downloads
- wget https://chromedriver.storage.googleapis.com/2.27/chromedriver_linux64.zip && unzip chromedriver_linux64.zip && sudo mv chromedriver /usr/bin
Run:
cd tests/behat
../../vendor/behat/behat/bin/behat -v
Or for a specific feature:
../../vendor/behat/behat/bin/behat features/createCourse.feature