Skip to content

Commit

Permalink
MOBILE-4616 core: Fix behats after MDL-83296 change
Browse files Browse the repository at this point in the history
  • Loading branch information
dpalou committed Oct 7, 2024
1 parent a0cf5bf commit 73307cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/features/mainmenu/tests/behat/mainmenu.feature
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ 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

@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
Expand All @@ -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
Expand Down

0 comments on commit 73307cc

Please sign in to comment.