Commit 83b27441 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1754203: Correct grammar for consent switch"

parents 297c75d7 7e3d2c0c
......@@ -1369,7 +1369,7 @@ $string['institutiontermsconsentdate'] = 'Institution terms and conditions conse
$string['userprivacypagedescription'] = 'Displayed are the current privacy statements and terms and conditions to which you consented.';
$string['lastupdated'] = 'Last updated on';
$string['newprivacy'] = 'Before entering your account, please read the information displayed below.';
$string['privacyagreement'] = 'I consent to this %s';
$string['privacyagreement'] = 'I consent to the %s';
$string['privacyagreementdescription'] = 'By choosing "Yes", you give your consent to the clauses of the privacy statement above.';
$string['privacyagreedto'] = 'You agreed to this %s in %s.';
$string['agreementsaved'] = 'Agreement saved';
......
......@@ -17,8 +17,8 @@ Scenario: Registering as a new student and checking switch can flick back and fo
| Last name | McQueen |
| Email address | fakeymcfakey@example.org |
| Registration reason | I will absolutely make this institution more amazing!! |
And I enable the switch "I consent to this privacy statement"
And I enable the switch "I consent to this terms and conditions"
And I enable the switch "I consent to the privacy statement"
And I enable the switch "I consent to the terms and conditions"
# we wait a human amount of time so the spam trap is avoided
And I wait "4" seconds
And I press "Register"
......
......@@ -38,7 +38,7 @@ Scenario: Create user who logs in with strict privacy enabled
Then I should see "If you do not consent to the privacy statement(s) or terms and conditions, your account will be suspended."
Then I press "No"
# consent to privacy statement
And I enable the switch "I consent to this privacy statement"
And I enable the switch "I consent to this terms and conditions"
And I enable the switch "I consent to the privacy statement"
And I enable the switch "I consent to the terms and conditions"
And I press "Save changes"
Then I should see "Welcome"
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