Skip to content

Commit 0cb26f4

Browse files
Merge branch 'nursoltan-s-fix-login-tests' into ast-login-fix
2 parents 9043e11 + 812c578 commit 0cb26f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

automated-smoke-test/page-objects/pages/topcoder/login/login.constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ export class LoginPageConstants {
55
static get errors() {
66
return {
77
InvalidPassword:
8-
'That password is incorrect. Please check that you entered the right one.',
8+
'WRONG USERNAME OR PASSWORD.',
99
MemberNotPresent:
10-
"We couldn't find a member with that username. Please check that you entered it correctly.",
10+
"WRONG USERNAME OR PASSWORD.",
1111
};
1212
}
1313
}

automated-smoke-test/page-objects/pages/topcoder/login/login.po.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class LoginPage {
4848
* Get Error message
4949
*/
5050
public get errorMessage() {
51-
return ElementHelper.getElementByClassName('form-error');
51+
return ElementHelper.getElementByCss('.auth0-global-message.auth0-global-message-error .animated.fadeInUp span');
5252
}
5353

5454
/**

0 commit comments

Comments
 (0)