Merge pull request #36 from moodlehq/MOBILE-3833

MOBILE-3833 behat: Fix deep linking wait to start
main
Dani Palou 2021-10-01 08:10:03 +02:00 committed by GitHub
commit 9b61739b04
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ Feature: It navigates properly using deep links.
And I receive a push notification in the app for: And I receive a push notification in the app for:
| username | module | discussion | | username | module | discussion |
| student2 | forum | Forum topic | | student2 | forum | Forum topic |
And I wait the app to restart
Then I should find "Reconnect" in the app Then I should find "Reconnect" in the app
When I set the field "Password" to "student2" in the app When I set the field "Password" to "student2" in the app
@ -54,6 +55,7 @@ Feature: It navigates properly using deep links.
| discussion | | discussion |
| Forum topic | | Forum topic |
And I log in as "student1" And I log in as "student1"
And I wait loading to finish in the app
Then I should find "Forum topic" in the app Then I should find "Forum topic" in the app
And I should find "Forum message" in the app And I should find "Forum message" in the app
But I should not find "Site home" in the app But I should not find "Site home" in the app