From 001a19f066dce6e0b54be1a02a179a5567f742bb Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 15 Nov 2022 11:52:20 +0100 Subject: [PATCH] MOBILE-4059 user: Update contact support message --- src/core/features/user/lang.json | 2 +- src/core/features/user/tests/behat/support.feature | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/features/user/lang.json b/src/core/features/user/lang.json index d1c29e8b6..ed6261dc1 100644 --- a/src/core/features/user/lang.json +++ b/src/core/features/user/lang.json @@ -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" diff --git a/src/core/features/user/tests/behat/support.feature b/src/core/features/user/tests/behat/support.feature index 0f4c9018d..4f11aea96 100644 --- a/src/core/features/user/tests/behat/support.feature +++ b/src/core/features/user/tests/behat/support.feature @@ -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