diff --git a/mod/course/tests/behat/app_basic_usage.feature b/mod/course/tests/behat/app_basic_usage.feature index 2caa3442f..f1516594d 100755 --- a/mod/course/tests/behat/app_basic_usage.feature +++ b/mod/course/tests/behat/app_basic_usage.feature @@ -453,7 +453,7 @@ Feature: Test basic usage of one course in app Then I should find "Course summary" in the app And I should find "Course" in the app - When I press "Course" "ion-button" in the app + When I press "View course" "ion-button" in the app Then the header should be "Course 1" in the app And I should find "Choice course 1" in the app And I should find "assignment" in the app diff --git a/mod/courses/tests/behat/app_basic_usage.feature b/mod/courses/tests/behat/app_basic_usage.feature index 5cb9f3953..fc59c4fbb 100755 --- a/mod/courses/tests/behat/app_basic_usage.feature +++ b/mod/courses/tests/behat/app_basic_usage.feature @@ -88,7 +88,7 @@ Feature: Test basic usage of courses in app When I press "Course 4" in the app Then I should find "Course 4" in the app - And the header should be "Course summary" in the app + And I should find "Course summary" in the app When I press the back button in the app And I set the field "Search" to "Course" in the app