MDL-63730 lang: Update Behat scenarios to use the new strings

This commit is contained in:
David Mudrák
2018-10-26 13:25:56 +02:00
parent 0c19b2c8fa
commit f5d98e6173
5 changed files with 27 additions and 27 deletions
@@ -11,7 +11,7 @@ Feature: List the system steps definitions
@javascript
Scenario: Accessing the list
Then I should see "Steps definitions"
Then I should see "Step definitions"
And I should not see "There aren't steps definitions matching this filter"
@javascript
@@ -30,7 +30,7 @@ Feature: Data delete from the privacy API
And I log in as "admin"
And I navigate to "Users > Privacy and policies > Data requests" in site administration
And I follow "New request"
And I set the field "Requesting for" to "Victim User 1"
And I set the field "User" to "Victim User 1"
And I set the field "Type" to "Delete all of my personal data"
And I press "Save changes"
Then I should see "Victim User 1"
@@ -93,7 +93,7 @@ Feature: Data delete from the privacy API
And I follow "Profile" in the user menu
And I follow "Data requests"
And I follow "New request"
And I set the field "Requesting for" to "Victim User 1"
And I set the field "User" to "Victim User 1"
And I set the field "Type" to "Delete all of my personal data"
And I press "Save changes"
Then I should see "Victim User 1"
@@ -27,7 +27,7 @@ Feature: Data export from the privacy API
Given I log in as "admin"
And I navigate to "Users > Privacy and policies > Data requests" in site administration
And I follow "New request"
And I set the field "Requesting for" to "Victim User 1"
And I set the field "User" to "Victim User 1"
And I press "Save changes"
Then I should see "Victim User 1"
And I should see "Pending" in the "Victim User 1" "table_row"
@@ -96,7 +96,7 @@ Feature: Data export from the privacy API
And I follow "Profile" in the user menu
And I follow "Data requests"
And I follow "New request"
And I set the field "Requesting for" to "Victim User 1"
And I set the field "User" to "Victim User 1"
And I press "Save changes"
Then I should see "Victim User 1"
And I should see "Pending" in the "Victim User 1" "table_row"
+4 -4
View File
@@ -35,11 +35,11 @@ Feature: Test the 'Digital age of consent verification' feature works.
When I set the field "What is your age?" to "12"
And I set the field "In which country do you live?" to "AT"
And I press "Proceed"
Then I should see "You are considered to be a digital minor."
And I should see "To create an account on this site please have your parent/guardian contact the following person."
Then I should see "You are too young to create an account on this site."
And I should see "Please ask your parent/guardian to contact:"
# Try to access the sign up page again.
When I click on "Back to the site home" "link"
And I click on "Log in" "link" in the ".logininfo" "css_element"
And I press "Create new account"
Then I should see "You are considered to be a digital minor."
And I should see "To create an account on this site please have your parent/guardian contact the following person."
Then I should see "You are too young to create an account on this site."
And I should see "Please ask your parent/guardian to contact:"
@@ -68,29 +68,29 @@ Feature: Basic use of the Statistics report
# Question A statistics breakdown.
And "1" row "Question name" column of "questionstatistics" table should contain "Question A"
And "1" row "Attempts" column of "questionstatistics" table should contain "3"
And "1" row "Facility index" column of "questionstatistics" table should contain "66.67 %"
And "1" row "Standard deviation" column of "questionstatistics" table should contain "57.74 %"
And "1" row "Random guess score" column of "questionstatistics" table should contain "50.00 %"
And "1" row "Intended weight" column of "questionstatistics" table should contain "33.33 %"
And "1" row "Effective weight" column of "questionstatistics" table should contain "30.90 %"
And "1" row "Discrimination index" column of "questionstatistics" table should contain "50.00 %"
And "1" row "Facility index" column of "questionstatistics" table should contain "66.67%"
And "1" row "Standard deviation" column of "questionstatistics" table should contain "57.74%"
And "1" row "Random guess score" column of "questionstatistics" table should contain "50.00%"
And "1" row "Intended weight" column of "questionstatistics" table should contain "33.33%"
And "1" row "Effective weight" column of "questionstatistics" table should contain "30.90%"
And "1" row "Discrimination index" column of "questionstatistics" table should contain "50.00%"
# Question B statistics breakdown.
And "2" row "Question name" column of "questionstatistics" table should contain "Question B"
And "2" row "Attempts" column of "questionstatistics" table should contain "3"
And "2" row "Facility index" column of "questionstatistics" table should contain "33.33 %"
And "2" row "Standard deviation" column of "questionstatistics" table should contain "57.74 %"
And "2" row "Random guess score" column of "questionstatistics" table should contain "50.00 %"
And "2" row "Intended weight" column of "questionstatistics" table should contain "33.33 %"
And "2" row "Effective weight" column of "questionstatistics" table should contain "34.55 %"
And "2" row "Discrimination index" column of "questionstatistics" table should contain "86.60 %"
And "2" row "Facility index" column of "questionstatistics" table should contain "33.33%"
And "2" row "Standard deviation" column of "questionstatistics" table should contain "57.74%"
And "2" row "Random guess score" column of "questionstatistics" table should contain "50.00%"
And "2" row "Intended weight" column of "questionstatistics" table should contain "33.33%"
And "2" row "Effective weight" column of "questionstatistics" table should contain "34.55%"
And "2" row "Discrimination index" column of "questionstatistics" table should contain "86.60%"
# Question C statistics breakdown.
And "3" row "Question name" column of "questionstatistics" table should contain "Question C"
And "3" row "Attempts" column of "questionstatistics" table should contain "3"
And "3" row "Facility index" column of "questionstatistics" table should contain "33.33 %"
And "3" row "Standard deviation" column of "questionstatistics" table should contain "57.74 %"
And "3" row "Random guess score" column of "questionstatistics" table should contain "50.00 %"
And "3" row "Intended weight" column of "questionstatistics" table should contain "33.33 %"
And "3" row "Effective weight" column of "questionstatistics" table should contain "34.55 %"
And "3" row "Discrimination index" column of "questionstatistics" table should contain "86.60 %"
And "3" row "Facility index" column of "questionstatistics" table should contain "33.33%"
And "3" row "Standard deviation" column of "questionstatistics" table should contain "57.74%"
And "3" row "Random guess score" column of "questionstatistics" table should contain "50.00%"
And "3" row "Intended weight" column of "questionstatistics" table should contain "33.33%"
And "3" row "Effective weight" column of "questionstatistics" table should contain "34.55%"
And "3" row "Discrimination index" column of "questionstatistics" table should contain "86.60%"