diff --git a/mod/choice/tests/behat/app_basic_usage.feature b/mod/choice/tests/behat/app_basic_usage.feature index a51feb430..5de9ffaf8 100755 --- a/mod/choice/tests/behat/app_basic_usage.feature +++ b/mod/choice/tests/behat/app_basic_usage.feature @@ -132,7 +132,6 @@ Feature: Test basic usage of choice activity in app | choice | Test multi choice name | Test multi choice description | C1 | choice2 | Option 1, Option 2, Option 3 | 1 | 1 | 1 | | choice | Test single choice name | Test single choice description | C1 | choice1 | Option 1, Option 2, Option 3 | 0 | 0 | 1 | When I enter the course "Course 1" as "student1" in the app - And I press "Course summary" in the app And I press "Course downloads" in the app And I press "Download" within "Test single choice name" "ion-item" in the app Then I should find "Downloaded" within "Test single choice name" "ion-item" in the app diff --git a/mod/course/tests/behat/app_basic_usage.feature b/mod/course/tests/behat/app_basic_usage.feature index 885796a8a..2caa3442f 100755 --- a/mod/course/tests/behat/app_basic_usage.feature +++ b/mod/course/tests/behat/app_basic_usage.feature @@ -449,7 +449,8 @@ Feature: Test basic usage of one course in app And I press "Site home" in the app And I press "Available courses" in the app And I press "Course 1" in the app - Then I should find "Course downloads" in the 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 diff --git a/mod/forum/tests/behat/app_basic_usage.feature b/mod/forum/tests/behat/app_basic_usage.feature index 032b16fd2..6d59c7db0 100755 --- a/mod/forum/tests/behat/app_basic_usage.feature +++ b/mod/forum/tests/behat/app_basic_usage.feature @@ -182,7 +182,6 @@ Feature: Test basic usage of forum activity in app Then I should find "Auto-test" in the app When I press the back button in the app - And I press "Course summary" in the app And I press "Course downloads" in the app And I press "Download" within "Test forum name" "ion-item" in the app And I press the back button in the app @@ -209,7 +208,6 @@ Feature: Test basic usage of forum activity in app Then I should find "Auto-test" in the app When I press the back button in the app - And I press "Course summary" in the app And I press "Course downloads" in the app And I press "Download" within "Test forum name" "ion-item" in the app And I press the back button in the app @@ -264,7 +262,7 @@ Feature: Test basic usage of forum activity in app And I press the back button in the app Then I should find "This Forum has offline data to be synchronised." in the app - When I press "Information" near "Test forum name" in the app + When I press "Information" in the app And I press "Synchronise now" in the app Then I should not find "This Forum has offline data to be synchronised." in the app @@ -288,7 +286,6 @@ Feature: Test basic usage of forum activity in app And I set the field "Message" to "DiscussionMessage" in the app And I press "Post to forum" in the app And I press the back button in the app - And I press "Course summary" in the app And I press "Course downloads" in the app And I press "Download" within "Test forum name" "ion-item" in the app And I press the back button in the app @@ -326,7 +323,7 @@ Feature: Test basic usage of forum activity in app When I switch offline mode to "false" And I press the back button in the app And I press "Test forum name" in the app - And I press "Information" near "Test forum name" in the app + And I press "Information" in the app And I press "Refresh" in the app And I press "DiscussionSubject" near "Sort by last post creation date in descending order" in the app Then I should find "DiscussionSubject" in the app @@ -367,7 +364,6 @@ Feature: Test basic usage of forum activity in app Then I should find "DiscussionSubject 1" in the app When I press the back button in the app - And I press "Course summary" in the app And I press "Course downloads" in the app And I press "Download" within "Test forum name" "ion-item" in the app Then I should find "Downloaded" within "Test forum name" "ion-item" in the app