MOBILE-3833 behat: Update course summary steps

main
Noel De Martin 2022-03-10 11:18:59 +01:00
parent bf8a8531ec
commit 71f1ab5229
3 changed files with 4 additions and 8 deletions

View File

@ -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 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 | | 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 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 "Course downloads" in the app
And I press "Download" within "Test single choice name" "ion-item" 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 Then I should find "Downloaded" within "Test single choice name" "ion-item" in the app

View File

@ -449,7 +449,8 @@ Feature: Test basic usage of one course in app
And I press "Site home" in the app And I press "Site home" in the app
And I press "Available courses" in the app And I press "Available courses" in the app
And I press "Course 1" 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 And I should find "Course" in the app
When I press "Course" "ion-button" in the app When I press "Course" "ion-button" in the app

View File

@ -182,7 +182,6 @@ Feature: Test basic usage of forum activity in app
Then I should find "Auto-test" in the app Then I should find "Auto-test" in the app
When I press the back button 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 "Course downloads" in the app
And I press "Download" within "Test forum name" "ion-item" 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 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 Then I should find "Auto-test" in the app
When I press the back button 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 "Course downloads" in the app
And I press "Download" within "Test forum name" "ion-item" 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 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 And I press the back button in the app
Then I should find "This Forum has offline data to be synchronised." 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 And I press "Synchronise now" in the app
Then I should not find "This Forum has offline data to be synchronised." 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 set the field "Message" to "DiscussionMessage" in the app
And I press "Post to forum" in the app And I press "Post to forum" in the app
And I press the back button 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 "Course downloads" in the app
And I press "Download" within "Test forum name" "ion-item" 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 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" When I switch offline mode to "false"
And I press the back button in the app And I press the back button in the app
And I press "Test forum name" 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 "Refresh" in the app
And I press "DiscussionSubject" near "Sort by last post creation date in descending order" 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 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 Then I should find "DiscussionSubject 1" in the app
When I press the back button 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 "Course downloads" in the app
And I press "Download" within "Test forum name" "ion-item" 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 Then I should find "Downloaded" within "Test forum name" "ion-item" in the app