← Back to team overview

mahara-contributors team mailing list archive

[Bug 1742600] Re: chromedriver version needs updating for running tests

 

** Changed in: mahara/16.10
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1742600

Title:
  chromedriver version needs updating for running tests

Status in Mahara:
  Fix Committed
Status in Mahara 16.10 series:
  Fix Committed
Status in Mahara 17.04 series:
  Fix Released
Status in Mahara 17.10 series:
  Fix Released
Status in Mahara 18.04 series:
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1742600/+subscriptions


References