MOBILE-4059 user: Update contact support message

main
Noel De Martin 2022-11-15 11:52:20 +01:00
parent a2772622f2
commit 001a19f066
2 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@
"roles": "Roles",
"sendemail": "Email",
"student": "Student",
"support": "Support",
"support": "Contact site support",
"teacher": "Non-editing teacher",
"userwithid": "User with ID {{id}}",
"webpage": "Web page"

View File

@ -10,9 +10,9 @@ Feature: Site support
Scenario: Uses default support page
Given I entered the app as "student1"
When I press the user menu button in the app
Then I should find "Support" in the app
Then I should find "Contact site support" in the app
When I press "Support" in the app
When I press "Contact site support" in the app
Then the app should have opened a browser tab with url ".*\/user\/contactsitesupport\.php"
Scenario: Uses custom support page
@ -20,9 +20,9 @@ Feature: Site support
| supportpage | https://campus.example.edu/support |
And I entered the app as "student1"
When I press the user menu button in the app
Then I should find "Support" in the app
Then I should find "Contact site support" in the app
When I press "Support" in the app
When I press "Contact site support" in the app
Then the app should have opened a browser tab with url "https:\/\/campus\.example\.edu\/support"
Scenario: Cannot contact support
@ -31,4 +31,4 @@ Feature: Site support
And I entered the app as "student1"
When I press the user menu button in the app
Then I should find "Blog entries" in the app
But I should not find "Support" in the app
But I should not find "Contact site support" in the app