Commit 186c07f8 authored by Rebecca Blundell's avatar Rebecca Blundell

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
parent 82247213
......@@ -25,6 +25,7 @@ Background:
| password | Kupuhipa1 |
| Institution administrator | 1 |
And I select "Institution One" from "adduser_authinstance"
And I scroll to the top
And I press "General account options"
And I set the following fields to these values:
| Multiple journals | 1 |
......
......@@ -23,7 +23,7 @@ Scenario: Make Text Block Retractable
And I set the field "Block content" to "Here is a new block."
Given I select "Yes" from "Retractable"
And I press "Save"
And I scroll to the id "main-nav"
And I scroll to the top
Then I click on "Display page"
Then I should see "Here is a new block"
And I collapse "Text Block 1" node
......
......@@ -26,4 +26,6 @@ Scenario: Open badges block
And I press "Add"
Then I should see "Your email UserA@example.org is not found in the service"
And I press "Save"
#When watching the test it took quite a long time for the window to close after pressing save (while the button said "processing"). Just making it work for now. TODO: figure out why/ if it's a problem.
And I wait "5" seconds
Then I should see "No public badge collections / badges found."
......@@ -30,7 +30,7 @@ Scenario: Check modal is working for the "Edit group memebership" on find people
Given I log in as "admin" with password "Kupuhipa1"
And I choose "Find people" in "Groups" from main menu
And I follow "2" in the "Find people results" property
And I follow "Edit group membership"
And I click on "Edit group membership" in "Liam User" row
# allow the modal to open
And I wait "1" seconds
And I check "GroupA"
......
......@@ -104,7 +104,7 @@ then
SELENIUM_FILENAME=selenium-server-standalone-$SELENIUM_VERSION_MAJOR.$SELENIUM_VERSION_MINOR.jar
SELENIUM_PATH=./test/behat/$SELENIUM_FILENAME
# @todo make this more flexible, cross-platform?
CHROMEDRIVER_PATH=./test/behat/chromedriver-2.26-linux64
CHROMEDRIVER_PATH=./test/behat/chromedriver-2.35-linux64
# If no Selenium installed, download it
if [ ! -f $SELENIUM_PATH ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment