MDL-63303 behat: Behat fixes

This commit is contained in:
Andrew Nicols 2018-11-15 16:23:49 +08:00
parent f42e85cc86
commit 705003beae
16 changed files with 28 additions and 28 deletions

View file

@ -25,8 +25,8 @@ Feature: The questions can be tagged
And I navigate to "Question bank > Questions" in current page administration
And I press "Create a new question ..."
And I set the field "item_qtype_truefalse" to "1"
And I press "Add"
And I click on "Add" "button" in the "Confirm" "dialogue"
And I expand all fieldsets
And I open the autocomplete suggestions list
Then "foo" "autocomplete_suggestions" should exist
And "bar" "autocomplete_suggestions" should exist
And "bar" "autocomplete_suggestions" should exist

View file

@ -22,7 +22,7 @@ Feature: Test creating a drag and drop onto image question
Scenario: Create a drag and drop onto image question
When I press "Create a new question ..."
And I set the field "Drag and drop onto image" to "1"
And I press "Add"
And I click on "Add" "button" in the "Choose a new question type to add" "dialogue"
And I set the field "Question name" to "Drag and drop onto image 001"
And I set the field "Question text" to "Identify the features in this cross-section."
And I set the field "General feedback" to "The locations are now labelled on the diagram below."

View file

@ -22,7 +22,7 @@ Feature: Test creating a drag and drop markers question
Scenario: Create a drag and drop markers question
When I press "Create a new question ..."
And I set the field "Drag and drop markers" to "1"
And I press "Add"
And I click on "Add" "button" in the "Confirm" "dialogue"
And I set the field "Question name" to "Drag and drop markers"
And I set the field "Question text" to "Please place the markers on the map of Milton Keynes and be aware that there is more than one railway station."
And I set the field "General feedback" to "The Open University is at the junction of Brickhill Street and Groveway. There are three railway stations, Wolverton, Milton Keynes Central and Bletchley."