chromedriver version needs updating for running tests

Bug #1742600 reported by Rebecca Blundell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Rebecca Blundell
16.10
Fix Released
High
Unassigned
17.04
Fix Released
High
Unassigned
17.10
Fix Released
High
Unassigned
18.04
Fix Released
High
Rebecca Blundell

Bug Description

Chrome has been causing errors in running behat tests since version 61. As a work around I pinned my version of chrome as in this wiki page: https://wiki.mahara.org/wiki/Testing/Behat_Testing/Error_%26_Solutions#Tests_failing_erratically_since_Chrome.2FChromium_upgrade_to_version_61

However, it seems like the issue can be resolved by updating chromedriver. Details of chrome versions supported by versions of chromedriver: https://sites.google.com/a/chromium.org/chromedriver/downloads

I have now successfully run tests with chrome 63 and chromedriver 2.35, so this seems to be the fix.

Further info:
In order to unpin your chrome/chromium versions if you used the workaround, run apt-mark unhold commands on the packages you have installed - e.g:

 sudo apt-mark unhold chromium-browser
 sudo apt-mark unhold chromium-codecs-ffmpeg-extra
 sudo apt-mark unhold chromium-codecs-ffmpeg
 sudo apt-mark unhold google-chrome

I had an issue upgrading after that, which was solved by reading this:
https://askubuntu.com/questions/724093/no-more-updates-for-google-chrome-apt-get-update-error/724146 and running:
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update
sudo apt-get install google-chrome-stable

Tags: behat
Changed in mahara:
assignee: nobody → Rebecca Blundell (rjb-dev)
status: New → In Progress
tags: added: behat
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/8421

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8421
Committed: https://git.mahara.org/mahara/mahara/commit/186c07f8f61064d056b15b33c1e4447749269e0a
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 186c07f8f61064d056b15b33c1e4447749269e0a
Author: Rebecca Blundell <email address hidden>
Date: Thu Jan 11 16:19:03 2018 +1300

Bug 1742600: update chromedriver for behat tests

I have successfully run tests with the new version of chromedriver
(2.35) and chrome (63). I thought the best way to test further was to
let maharabot run the test suite and see if any issues come up.

failing tests are now fixed.

behatnotneeded

Change-Id: I22e45e8a95669e2109ca70ae782aa2c40546db14

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "17.10_STABLE" branch: https://reviews.mahara.org/8424

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "17.04_STABLE" branch: https://reviews.mahara.org/8425

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "16.10_STABLE" branch: https://reviews.mahara.org/8427

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 18.04.0
importance: Undecided → High
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8424
Committed: https://git.mahara.org/mahara/mahara/commit/226787057fb32bec1a64a74fabf6cea3b7afe618
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.10_STABLE

commit 226787057fb32bec1a64a74fabf6cea3b7afe618
Author: Rebecca Blundell <email address hidden>
Date: Thu Jan 11 16:19:03 2018 +1300

Bug 1742600: update chromedriver for behat tests

I have successfully run tests with the new version of chromedriver
(2.35) and chrome (63). I thought the best way to test further was to
let maharabot run the test suite and see if any issues come up.

failing tests are now fixed.

behatnotneeded

Change-Id: I22e45e8a95669e2109ca70ae782aa2c40546db14

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/8425
Committed: https://git.mahara.org/mahara/mahara/commit/7bc31e726b918c73c0daa17a8843fc8eebd62642
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.04_STABLE

commit 7bc31e726b918c73c0daa17a8843fc8eebd62642
Author: Rebecca Blundell <email address hidden>
Date: Thu Jan 11 16:19:03 2018 +1300

Bug 1742600: update chromedriver for behat tests

I have successfully run tests with the new version of chromedriver
(2.35) and chrome (63). I thought the best way to test further was to
let maharabot run the test suite and see if any issues come up.

failing tests are now fixed.

behatnotneeded

Change-Id: I22e45e8a95669e2109ca70ae782aa2c40546db14

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/8427
Committed: https://git.mahara.org/mahara/mahara/commit/8b235e619f4f76c168cf2d53939cef2fc61a3197
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.10_STABLE

commit 8b235e619f4f76c168cf2d53939cef2fc61a3197
Author: Rebecca Blundell <email address hidden>
Date: Thu Jan 11 16:19:03 2018 +1300

Bug 1742600: update chromedriver for behat tests

I have successfully run tests with the new version of chromedriver
(2.35) and chrome (63). I thought the best way to test further was to
let maharabot run the test suite and see if any issues come up.

failing tests are now fixed.

behatnotneeded

Change-Id: I22e45e8a95669e2109ca70ae782aa2c40546db14

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.