MOBILE-3833 behat: Fix changing sites

main
Noel De Martin 2021-09-29 14:26:14 +02:00
parent b181f774cc
commit 2937f8f1f2
2 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,7 @@ Feature: Test basic usage of login in app
And I log in as "student1" And I log in as "student1"
And I press the main menu button in the app And I press the main menu button in the app
And I press "Change site" in the app And I press "Change site" in the app
And I wait the app to restart
And I press "Add" in the app And I press "Add" in the app
And I set the field "Your site" to "Wrong Site Address" in the app And I set the field "Your site" to "Wrong Site Address" in the app
And I press enter in the app And I press enter in the app
@ -46,6 +47,7 @@ Feature: Test basic usage of login in app
And I log in as "student1" And I log in as "student1"
And I press the main menu button in the app And I press the main menu button in the app
And I press "Change site" in the app And I press "Change site" in the app
And I wait the app to restart
Then I should find "Acceptance test site" in the app Then I should find "Acceptance test site" in the app
And I press "Delete" in the app And I press "Delete" in the app
And I press "Delete" near "Acceptance test site" in the app And I press "Delete" near "Acceptance test site" in the app

View File

@ -27,6 +27,7 @@ Feature: It navigates properly using deep links.
And I log in as "student2" And I log in as "student2"
And I press the main menu button in the app And I press the main menu button in the app
And I press "Log out" in the app And I press "Log out" in the app
And I wait the app to restart
And I press "Add" in the app And I press "Add" in the app
And I set the field "Your site" to "$WWWROOT" in the app And I set the field "Your site" to "$WWWROOT" in the app
And I press "Connect to your site" in the app And I press "Connect to your site" in the app