Merge branch 'MDL-64066' of git://github.com/stronk7/moodle

This commit is contained in:
Jun Pataleta 2018-11-18 01:02:24 +08:00
commit 9d10c33989
10 changed files with 18 additions and 18 deletions

View File

@ -46,7 +46,7 @@ Feature: Data export from the privacy API
And I reload the page
And I should see "Download ready" in the "Victim User 1" "table_row"
And I open the action menu in "Victim User 1" "table_row"
And following "Download" should download between "1" and "130000" bytes
And following "Download" should download between "1" and "135000" bytes
And the following config values are set as admin:
| privacyrequestexpiry | 1 | tool_dataprivacy |
And I wait "1" seconds
@ -81,7 +81,7 @@ Feature: Data export from the privacy API
And I reload the page
And I should see "Download ready" in the "Export all of my personal data" "table_row"
And I open the action menu in "Victim User 1" "table_row"
And following "Download" should download between "1" and "130000" bytes
And following "Download" should download between "1" and "135000" bytes
And the following config values are set as admin:
| privacyrequestexpiry | 1 | tool_dataprivacy |
@ -118,7 +118,7 @@ Feature: Data export from the privacy API
And I reload the page
And I should see "Download ready" in the "Victim User 1" "table_row"
And I open the action menu in "Victim User 1" "table_row"
And following "Download" should download between "1" and "130000" bytes
And following "Download" should download between "1" and "135000" bytes
And the following config values are set as admin:
| privacyrequestexpiry | 1 | tool_dataprivacy |

View File

@ -12,7 +12,7 @@ Feature: Manage data categories
And I press "Add category"
And I set the field "Name" to "Category 1"
And I set the field "Description" to "Category 1 description"
When I click on "Save" "button" in the "Delete category" "button"
When I click on "Save" "button" in the "Delete category" "dialogue"
Then I should see "Category 1" in the "List of data categories" "table"
And I should see "Category 1 description" in the "Category 1" "table_row"
@ -30,5 +30,5 @@ Feature: Manage data categories
And I choose "Delete" in the open action menu
And I should see "Delete category"
And I should see "Are you sure you want to delete the category 'Category 1'?"
When I click on "Delete" "button" in the "Confirm" "button"
When I click on "Delete" "button" in the "Confirm" "dialogue"
Then I should not see "Category 1" in the "List of data categories" "table"

View File

@ -61,10 +61,10 @@ Feature: Manage competency frameworks
And "Confirm" "dialogue" should be visible
And "Delete" "button" should exist in the "Confirm" "dialogue"
And "Cancel" "button" should exist in the "Confirm" "dialogue"
And I click on "Cancel" "button"
And I click on "Cancel" "button" in the "Confirm" "dialogue"
And I click on "Delete" of edit menu in the "Science Year-4" row
And "Confirm" "dialogue" should be visible
When I click on "Delete" "button"
When I click on "Delete" "button" in the "Confirm" "dialogue"
Then I should not see "Science Year-4"
And I should not see "sc-y-4"

View File

@ -53,10 +53,10 @@ Feature: Manage evidence of prior learning
And I follow "Evidence of prior learning"
And I should see "List of evidence"
And I click on "Delete" of edit menu in the "Evidence-4" row
And I click on "Cancel" "button"
And I click on "Cancel" "button" in the "Confirm" "dialogue"
And I click on "Delete" of edit menu in the "Evidence-4" row
And "Confirm" "dialogue" should be visible
When I click on "Delete" "button"
When I click on "Delete" "button" in the "Confirm" "dialogue"
And I wait until the page is ready
Then I should not see "Evidence-4"

View File

@ -120,7 +120,7 @@ Feature: Basic recycle bin functionality
And I should see "Test assign 2"
When I click on "Delete all" "link"
Then I should see "Are you sure you want to delete all items from the recycle bin?"
And I click on "Cancel" "button" in the "Add restriction..." "dialogue"
And I click on "Cancel" "button" in the "Confirmation" "dialogue"
And I should see "Test assign 1"
And I should see "Test assign 2"
And I click on "Delete all" "link"

View File

@ -143,7 +143,7 @@ Feature: Edit quiz page - adding things
And I set the field "Select a category:" to "Subcat 1"
When I press "Create a new question ..."
And I set the field "item_qtype_essay" to "1"
And I press "Add"
And I click on "Add" "button" in the "Choose a question type to add" "dialogue"
Then I should see "Adding an Essay question"
And I set the field "Question name" to "Essay 02"
And I set the field "Question text" to "Please write 200 words about Essay 02"
@ -156,7 +156,7 @@ Feature: Edit quiz page - adding things
And I wait until the page is ready
When I press "Create a new question ..."
And I set the field "item_qtype_essay" to "1"
And I press "Add"
And I click on "Add" "button" in the "Choose a question type to add" "dialogue"
Then I should see "Adding an Essay question"
And I set the field "Question name" to "Essay 03"
And I set the field "Question text" to "Please write 300 words about Essay 03"
@ -167,7 +167,7 @@ Feature: Edit quiz page - adding things
# Create the TF 01 question.
When 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 "Choose a question type to add" "dialogue"
Then I should see "Adding a True/False question"
And I set the field "Question name" to "TF 01"
And I set the field "Question text" to "The correct answer is true"
@ -179,7 +179,7 @@ Feature: Edit quiz page - adding things
# Create the TF 02 question.
When 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 "Choose a question type to add" "dialogue"
Then I should see "Adding a True/False question"
And I set the field "Question name" to "TF 02"
And I set the field "Question text" to "The correct answer is false"

View File

@ -25,7 +25,7 @@ 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 click on "Add" "button" in the "Confirm" "dialogue"
And I click on "Add" "button" in the "Choose a question type to add" "dialogue"
And I expand all fieldsets
And I open the autocomplete suggestions list
Then "foo" "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 click on "Add" "button" in the "Choose a new question type to add" "dialogue"
And I click on "Add" "button" in the "Choose a 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 click on "Add" "button" in the "Confirm" "dialogue"
And I click on "Add" "button" in the "Choose a question type to add" "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."

View File

@ -177,7 +177,7 @@ Feature: Users can edit tags to add description or rename
And I set the field "New name for tag Turtle" to "DOG"
And I press key "13" in the field "New name for tag Turtle"
And I should see "The tag name is already in use. Do you want to combine these tags?"
And I click on "Cancel" "button in the "Confirm" "dialogue"
And I click on "Cancel" "button" in the "Confirm" "dialogue"
And "New name for tag" "field" should not exist
And I should see "Turtle"
And I should see "Dog"