From 73307ccc5ac9daf98c9dd9ea989c977de829691d Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Mon, 7 Oct 2024 13:21:04 +0200 Subject: [PATCH] MOBILE-4616 core: Fix behats after MDL-83296 change --- src/core/features/mainmenu/tests/behat/mainmenu.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/features/mainmenu/tests/behat/mainmenu.feature b/src/core/features/mainmenu/tests/behat/mainmenu.feature index 9c5fc73cb..875f389e5 100644 --- a/src/core/features/mainmenu/tests/behat/mainmenu.feature +++ b/src/core/features/mainmenu/tests/behat/mainmenu.feature @@ -41,7 +41,7 @@ Feature: Main Menu opens the right page @lms_from4.5 Scenario: Opens right main menu tab when defaulthomepage is set to a custom URL that belongs to a tab Given the following config values are set as admin: - | defaulthomepage | #wwwroot#/message/index.php | + | defaulthomepage | /message/index.php | And I entered the app as "student" Then "Messages" "ion-tab-button" should be selected in the app And I should find "Contacts" in the app @@ -49,7 +49,7 @@ Feature: Main Menu opens the right page @lms_from4.5 Scenario: Opens new page when defaulthomepage is set to a custom URL Given the following config values are set as admin: - | defaulthomepage | #wwwroot#/badges/mybadges.php | + | defaulthomepage | /badges/mybadges.php | And I entered the app as "student" Then I should find "Badges" in the app And I should find "There are currently no badges" in the app @@ -61,7 +61,7 @@ Feature: Main Menu opens the right page @lms_from4.5 Scenario: defaulthomepage ignored if it's set to a custom URL not supported by the app Given the following config values are set as admin: - | defaulthomepage | #wwwroot#/foo/bar.php | + | defaulthomepage | /foo/bar.php | And I entered the app as "student" Then "My courses" "ion-tab-button" should be selected in the app And I should find "Course 1" in the app