-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] Updated test_forgot_password test
- Loading branch information
1 parent
8c4fefd
commit 812733d
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -311,8 +311,9 @@ def test_forgot_password(self): | |
self.base_driver.find_element(By.NAME, 'email').send_keys('[email protected]') | ||
self.base_driver.find_element(By.XPATH, '//input[@type="submit"]').click() | ||
self.assertIn( | ||
'We have sent you an e-mail. Please contact us if you ' | ||
'do not receive it within a few minutes.', | ||
'We have sent you an e-mail. If you have not received ' | ||
'it please check your spam folder. Otherwise contact us ' | ||
'if you do not receive it in a few minutes.', | ||
self.base_driver.page_source, | ||
) | ||
|
||
|