MOBILE-4025 mainmenu: Comment out flaky test

main
Noel De Martin 2022-08-04 17:03:52 +02:00
parent 4f394fb407
commit a4c5cc5f6c
1 changed files with 11 additions and 10 deletions

View File

@ -41,14 +41,15 @@ Feature: Main Menu opens the right page
And I should find "Course 1" in the app And I should find "Course 1" in the app
And "My courses" "text" should appear before "Home" "text" in the ".mainmenu-tabs" "css_element" And "My courses" "text" should appear before "Home" "text" in the ".mainmenu-tabs" "css_element"
@lms_from4.0 # @todo MOBILE-4119: This test is too flaky to run in CI until the race condition is fixed.
Scenario: Opens first tab after Site Home, Dashboard, and My Courses are disabled # @lms_from4.0
Given I entered the app as "student" # Scenario: Opens first tab after Site Home, Dashboard, and My Courses are disabled
Then "Dashboard" should be selected in the app # Given I entered the app as "student"
# Then "Dashboard" should be selected in the app
When the following config values are set as admin: # When the following config values are set as admin:
| disabledfeatures | $mmSideMenuDelegate_mmaFrontpage,CoreMainMenuDelegate_CoreCoursesDashboard,$mmSideMenuDelegate_mmCourses | tool_mobile | # | disabledfeatures | $mmSideMenuDelegate_mmaFrontpage,CoreMainMenuDelegate_CoreCoursesDashboard,$mmSideMenuDelegate_mmCourses | tool_mobile |
And I restart the app # And I restart the app
Then I should find "Contacts" in the app # Then I should find "Contacts" in the app
But I should not find "Home" in the app # But I should not find "Home" in the app
And I should not find "My courses" in the app # And I should not find "My courses" in the app