diff --git a/.travis.yml b/.travis.yml index 4d3921b659..bd54274c6a 100755 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,7 @@ before_install: - sudo apt-get update - sudo apt-get install google-chrome-stable # Get Chrome driver - - wget https://chromedriver.storage.googleapis.com/2.27/chromedriver_linux64.zip && unzip chromedriver_linux64.zip && sudo mv chromedriver /usr/bin + - wget https://chromedriver.storage.googleapis.com/2.32/chromedriver_linux64.zip && unzip chromedriver_linux64.zip && sudo mv chromedriver /usr/bin # Setup display for Selenium - sh -e /etc/init.d/xvfb start - export DISPLAY=:99.0 diff --git a/tests/behat/README.md b/tests/behat/README.md index 1ccc0e788d..3047d7143b 100644 --- a/tests/behat/README.md +++ b/tests/behat/README.md @@ -1,7 +1,8 @@ -In order to run behat tests locally with the right support for browser and JS environments under Linux, you will need to: +In order to run behat tests locally with the right support for browser +and JS environments under Linux, you will need to: - Download Selenium Standalone Server v3.* - + http://www.seleniumhq.org/download/ And run it with the following command: @@ -12,16 +13,17 @@ java -jar /my-dir/selenium-server-standalone-3.1.0.jar - Download the Chrome driver, unzip and copy into /usr/bin -Check the latest version at https://sites.google.com/a/chromium.org/chromedriver/downloads, then adapt the following command to the latest version: +Check the latest version at https://sites.google.com/a/chromium.org/chromedriver/downloads, +then adapt the following command to the latest version: ``` -cd /tmp && wget https://chromedriver.storage.googleapis.com/2.29/chromedriver_linux64.zip && unzip chromedriver_linux64.zip && sudo mv chromedriver /usr/bin +cd /tmp && wget https://chromedriver.storage.googleapis.com/2.32/chromedriver_linux64.zip && unzip chromedriver_linux64.zip && sudo mv chromedriver /usr/bin ``` ### Chamilo configuration - An administrator user should be created with these parameters: - - Username "admin" + - Username "admin" - Password "admin" - First name "John" - Last name "Doe" @@ -43,7 +45,7 @@ To run all features: cd tests/behat ../../vendor/behat/behat/bin/behat -v ``` - + To run an specific feature: ```