MDL-82417 admin: Clarify signoutofotherservices strings

This commit is contained in:
David Woloszyn
2024-07-09 13:59:14 +10:00
parent fd32ceac7c
commit 4fa51ddcff
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -2075,8 +2075,8 @@ $string['showtheselogs'] = 'Show these logs';
$string['showthishelpinlanguage'] = 'Show this help in language: {$a}';
$string['schedule'] = 'Schedule';
$string['sidepanel'] = 'Side panel';
$string['signoutofotherservices'] = 'Sign out everywhere';
$string['signoutofotherservices_help'] = 'If ticked, the account will be signed out of all devices and systems which use web services, such as the mobile app.';
$string['signoutofotherservices'] = 'Log out of all web apps';
$string['signoutofotherservices_help'] = 'Log out of all devices and systems that use web services, such as the mobile app. Browser sessions will remain active.';
$string['since'] = 'Since';
$string['sincelast'] = 'since last login';
$string['site'] = 'Site';
+4 -4
View File
@@ -16,14 +16,14 @@ Feature: Edit a users password
# We need to cancel/submit a form that has been modified.
And I press "Create user"
Scenario: Sign out everywhere field is not present if user doesn't have active token
Scenario: Log out web apps field is not present if user doesn't have active token
Given the following "users" exist:
| username | firstname | lastname | email |
| user01 | User | One | user01@example.com |
When I am on the "user01" "user > editing" page logged in as "admin"
Then "Sign out everywhere" "field" should not exist
Then "Log out of all web apps" "field" should not exist
Scenario Outline: Sign out everywhere field is present based on expiry of active token
Scenario Outline: Log out web apps field is present based on expiry of active token
Given the following "users" exist:
| username | firstname | lastname | email |
| user01 | User | One | user01@example.com |
@@ -34,7 +34,7 @@ Feature: Edit a users password
| user | service | validuntil |
| user01 | mytestservice | <validuntil> |
When I am on the "user01" "user > editing" page logged in as "admin"
Then "Sign out everywhere" "field" <shouldornot> exist
Then "Log out of all web apps" "field" <shouldornot> exist
Examples:
| validuntil | shouldornot |
| ## -1 month ## | should not |