Skip to content

Commit

Permalink
Downgrade to Firefox 46 for functional testing
Browse files Browse the repository at this point in the history
Ubuntu 14.04 upgrade of Firefox to 47.0 broke Selenium: the new
Mozilla WebDriver for Firefox isn't yet released and the old one doesn't
work with the new version of Firefox.  Downgrading temporarily.
  • Loading branch information
Ian Ross committed Jun 14, 2016
1 parent 7ef9e87 commit b3671b2
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions provision/roles/testing/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
- name: Install Firefox, Xvfb and Squid
- name: Install Xvfb and Squid
become: yes
become_user: root
apt: pkg={{ item }} state=installed update_cache=yes
with_items:
- firefox
- xvfb
- squid3

- name: Download Firefox 46 install bundle
become: yes
become_user: root
get_url: url=https://ftp.mozilla.org/pub/firefox/releases/46.0.1/linux-x86_64/en-US/firefox-46.0.1.tar.bz2
dest=/opt

- name: Unpack Firefox 46 install bundle
become: yes
become_user: root
unarchive: creates=/opt/firefox/firefox
src=/opt/firefox-46.0.1.tar.bz2 dest=/opt copy=no

- name: Add path to Firefox 46
become: yes
become_user: "{{ app_user }}"
lineinfile: dest=/home/vagrant/.bashrc
line="export PATH=/opt/firefox:$PATH"

- name: Install Python Selenium driver
become: yes
become_user: "{{ app_user }}"
Expand Down

0 comments on commit b3671b2

Please sign in to comment.