Skip to content

Commit 9135d74

Browse files
MOBILE-4816 tests: Add forgotten password behat tests
1 parent 8d1a27e commit 9135d74

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/core/features/login/tests/behat/basic_usage.feature

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,3 +216,13 @@ Feature: Test basic usage of login in app
216216
When I go back in the app
217217
And I press "Contact support" in the app
218218
Then the app should have opened a browser tab with url ".*\/user\/contactsitesupport\.php"
219+
220+
Scenario: Reset password invalid parameters
221+
When I launch the app
222+
And I set the field "Your site" to "$WWWROOT" in the app
223+
And I press "Connect to your site" in the app
224+
And I press "Lost password?" in the app
225+
Then I set the following fields to these values in the app:
226+
| Enter either username or email address | test#test |
227+
And I press "Search" in the app
228+
And I should find "The given username contains invalid characters" in the app

0 commit comments

Comments
 (0)