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"
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"
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"
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"
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:"
# 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%"