MOBILE-3947 behat: Use login shortcuts
parent
c1ddc04506
commit
c5c0a57113
|
@ -40,8 +40,7 @@ Feature: Notifications
|
|||
| Test 30 | student2 | student1 | 1649766629 | null |
|
||||
|
||||
Scenario: Mobile navigation
|
||||
Given I enter the app
|
||||
And I log in as "student1"
|
||||
Given I entered the app as "student1"
|
||||
And I press "Notifications" in the app
|
||||
Then I should find "Test 30" in the app
|
||||
But I should not find "Test 10" in the app
|
||||
|
@ -81,9 +80,8 @@ Feature: Notifications
|
|||
|
||||
@ionic7_failure
|
||||
Scenario: Tablet navigation
|
||||
Given I enter the app
|
||||
Given I entered the app as "student1"
|
||||
And I change viewport size to "1200x640" in the app
|
||||
And I log in as "student1"
|
||||
And I press "Notifications" in the app
|
||||
Then I should find "Test 30" in the app
|
||||
But I should not find "Test 10" in the app
|
||||
|
|
|
@ -49,8 +49,7 @@ Feature: Test basic usage of login in app
|
|||
Then I should find "Can't connect to site" in the app
|
||||
|
||||
Scenario: Add a non existing account from accounts switcher
|
||||
When I enter the app
|
||||
And I log in as "student1"
|
||||
Given I entered the app as "student1"
|
||||
And I press the user menu button in the app
|
||||
And I press "Switch account" in the app
|
||||
And I press "Add" in the app
|
||||
|
|
|
@ -119,8 +119,7 @@ Feature: Report builder
|
|||
| student1 | Lionel | Smith | lionel@example.com | Bilbao |
|
||||
|
||||
Scenario: Open report in mobile
|
||||
Given I enter the app
|
||||
And I log in as "student1"
|
||||
Given I entered the app as "student1"
|
||||
And I press the user menu button in the app
|
||||
When I press "Reports" in the app
|
||||
|
||||
|
@ -132,9 +131,8 @@ Feature: Report builder
|
|||
But I should not find "My report 02" in the app
|
||||
|
||||
Scenario: Open report in tablet
|
||||
Given I enter the app
|
||||
Given I entered the app as "student1"
|
||||
And I change viewport size to "1200x640" in the app
|
||||
And I log in as "student1"
|
||||
And I press the user menu button in the app
|
||||
When I press "Reports" in the app
|
||||
|
||||
|
|
Loading…
Reference in New Issue