MOBILE-3947 behat: Fix tests for older versions
parent
a9cad65bc3
commit
1c6c7c14c9
|
@ -57,7 +57,7 @@ Feature: Timeline block.
|
|||
But I should not find "Assignment 01" within "Timeline" "ion-card" in the app
|
||||
And I should not find "Course 3" within "Timeline" "ion-card" in the app
|
||||
|
||||
When I press "Next 30 days" in the app
|
||||
When I press "Filter timeline by date" in the app
|
||||
And I press "Overdue" in the app
|
||||
Then I should find "Assignment 01" within "Timeline" "ion-card" in the app
|
||||
And I should find "Course 2" within "Timeline" "ion-card" in the app
|
||||
|
@ -66,7 +66,7 @@ Feature: Timeline block.
|
|||
And I should not find "Course 1" within "Timeline" "ion-card" in the app
|
||||
And I should not find "Course 3" within "Timeline" "ion-card" in the app
|
||||
|
||||
When I press "Overdue" in the app
|
||||
When I press "Filter timeline by date" in the app
|
||||
And I press "All" in the app
|
||||
Then I should find "Assignment 19" within "Timeline" "ion-card" in the app
|
||||
And I should find "Course 3" within "Timeline" "ion-card" in the app
|
||||
|
@ -76,7 +76,7 @@ Feature: Timeline block.
|
|||
Then I should find "Assignment 21" within "Timeline" "ion-card" in the app
|
||||
And I should find "Assignment 25" within "Timeline" "ion-card" in the app
|
||||
|
||||
When I press "All" in the app
|
||||
When I press "Filter timeline by date" in the app
|
||||
And I press "Next 7 days" in the app
|
||||
And I press "Sort by" in the app
|
||||
And I press "Sort by courses" in the app
|
||||
|
|
|
@ -158,12 +158,9 @@ Feature: Attempt a quiz in app
|
|||
And I press "Next" in the app
|
||||
And I press "True" in the app
|
||||
And I press "Next" in the app
|
||||
And I press "Choose... , frog" in the app
|
||||
And I press "amphibian" in the app
|
||||
And I press "Choose... , newt" in the app
|
||||
And I press "insect" in the app
|
||||
And I press "Choose... , cat" in the app
|
||||
And I press "mammal" in the app
|
||||
And I set the field "frog" to "amphibian" in the app
|
||||
And I set the field "newt" to "insect" in the app
|
||||
And I set the field "cat" to "mammal" in the app
|
||||
And I press "Next" in the app
|
||||
Then I should find "Text of the eighth question" in the app
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ Feature: Grades navigation
|
|||
# Course grades
|
||||
When I press "Participants" in the app
|
||||
And I press "Student first" in the app
|
||||
And I press "Grades" in the app
|
||||
And I press "Grades" near "Details" in the app
|
||||
Then I should find "GC C2.1" in the app
|
||||
And I should find "Weight" in the app
|
||||
And I should find "Contribution to course total" in the app
|
||||
|
|
Loading…
Reference in New Issue