Merge pull request #34 from NoelDeMartin/MOBILE-3833

MOBILE-3833 behat: Fix changing sites
main
Dani Palou 2021-09-30 08:07:28 +02:00 committed by GitHub
commit 001bb4b051
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 press the main menu button 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 set the field "Your site" to "Wrong Site Address" 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 press the main menu button 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
And I press "Delete" 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 press the main menu button 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 set the field "Your site" to "$WWWROOT" in the app
And I press "Connect to your site" in the app