MOBILE-4616 behat: Remove cases where near is not needed

main
Pau Ferrer Ocaña 2024-09-02 22:23:44 +02:00
parent 34ae590968
commit 48f73468e0
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ Feature: Test basic usage of assignment activity in app
Then I should find "Student student" in the app
And I should find "Not graded" in the app
When I press "Student student" near "assignment1" in the app
When I press "Student student" in the app
Then I should find "Online text submissions" in the app
And I should find "Submission test edited" in the app
And the following events should have been logged for "student1" in the app:
@ -87,7 +87,7 @@ Feature: Test basic usage of assignment activity in app
# Allow more attempts as a teacher
Given I entered the assign activity "assignment1" on course "Course 1" as "teacher1" in the app
When I press "Participants" in the app
And I press "Student student" near "assignment1" in the app
And I press "Student student" in the app
And I press "Grade" in the app
And I press "Allow another attempt" in the app
And I press "Done" in the app
@ -116,7 +116,7 @@ Feature: Test basic usage of assignment activity in app
Given I entered the assign activity "assignment1" on course "Course 1" as "teacher1" in the app
When I press "Participants" in the app
And I pull to refresh in the app
And I press "Student student" near "assignment1" in the app
And I press "Student student" in the app
Then I should find "Online text submissions" in the app
And I should find "Submission test 2nd attempt" in the app

View File

@ -34,7 +34,7 @@ Feature: Main Menu opens the right page
Given the following config values are set as admin:
| defaulthomepage | 3 |
And I entered the app as "student"
Then "My courses" near "Home" should be selected in the app
Then "My courses" "ion-tab-button" should be selected 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"