MDL-63977 Behat: Upgrade mobile tests to work with 3.6 app version

This commit is contained in:
sam marshall 2019-01-15 14:31:25 +00:00
parent 1959e16412
commit e0564a3264
3 changed files with 36 additions and 5 deletions

View file

@ -21,7 +21,7 @@ Feature: Test basic usage in app
Scenario: Student starts a discussion
When I enter the app
And I log in as "student1" in the app
And I press "Course 1" in the app
And I press "Course 1" near "Course overview" in the app
And I press "Test forum name" in the app
And I press "Add a new discussion topic" in the app
And I set the field "Subject" to "My happy subject" in the app
@ -33,7 +33,7 @@ Feature: Test basic usage in app
Scenario: Student posts a reply
When I enter the app
And I log in as "student1" in the app
And I press "Course 1" in the app
And I press "Course 1" near "Course overview" in the app
And I press "Test forum name" in the app
And I press "Add a new discussion topic" in the app
And I set the field "Subject" to "DiscussionSubject" in the app
@ -50,7 +50,7 @@ Feature: Test basic usage in app
When I enter the app
And I change viewport size to "360x640"
And I log in as "student1" in the app
And I press "Course 1" in the app
And I press "Course 1" near "Course overview" in the app
And I press "Test forum name" in the app
And I press the page menu button in the app
And I press "Open in browser" in the app