mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
Updated the login test to match the new error message
This commit is contained in:
parent
e3570e609b
commit
2c65e4df6a
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ describe('front page', function() {
|
|||
var login = element(by.css("#login-tab input[value='Login']"));
|
||||
login.click();
|
||||
var alertDialog = browser.switchTo().alert();
|
||||
expect(alertDialog.getText()).toMatch(/Username or password incorrect./);
|
||||
expect(alertDialog.getText()).toMatch(/Uh-oh - your username or password is incorrect.\n- Make sure your username or email is typed correctly.\n- You may have signed up with Facebook, not email. Double-check by trying Facebook login.\n- If you forgot your password, click "Forgot Password"."Username or password incorrect./);
|
||||
alertDialog.accept();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue