Skip to content

Commit 890018c

Browse files
committed
Use Firefox instead of Chrome in frontend tests
1 parent efd7650 commit 890018c

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ addons:
5454
- supervisor
5555
- nginx
5656
- xvfb
57-
- chromium-browser
57+
- firefox
5858
- unzip
5959
- libnss3
6060
- libgconf-2-4

.travis/travis_install.sh

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ set -ex
44

55
section "install.base.requirements"
66

7+
# Check Firefox version
8+
firefox --version
9+
710
# Install v1.7 or newer of nginx to support 'if' statement for logging
811
sudo apt-add-repository -y ppa:nginx/development
912
sudo apt update
@@ -38,12 +41,12 @@ make db_init
3841
section_end "init.db"
3942

4043

41-
section "install.chromedriver.and.selenium"
42-
wget https://chromedriver.storage.googleapis.com/2.37/chromedriver_linux64.zip
43-
sudo unzip chromedriver_linux64.zip chromedriver -d /usr/local/bin
44-
rm chromedriver_linux64.zip
45-
which chromium-browser
46-
chromium-browser --version
44+
section "install.geckodriver.and.selenium"
45+
wget https://github.com/mozilla/geckodriver/releases/download/v0.20.0/geckodriver-v0.20.0-linux64.tar.gz
46+
sudo tar -xzf geckodriver-v0.20.0-linux64.tar.gz -C /usr/local/bin
47+
rm geckodriver-v0.20.0-linux64.tar.gz
48+
which geckodriver
49+
geckodriver --version
4750
pip install --upgrade selenium
4851
python -c "import selenium; print(f'Selenium {selenium.__version__}')"
49-
section_end "install.chromedriver.and.selenium"
52+
section_end "install.geckodriver.and.selenium"

baselayer

Submodule baselayer updated 1 file

config.yaml.defaults

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ paths:
2121

2222
upload_folder: './data/uploads'
2323
custom_feature_script_folder: './data/uploads/custom_feature_scripts'
24+
downloads_folder: '/tmp'
2425

2526
database:
2627
database: cesium

0 commit comments

Comments
 (0)