Larry Gregory 2018-10-23 05:53:11 -04:00 committed by GitHub
parent 6521387e27
commit c4b0de7bff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 1481 additions and 250 deletions

View file

@ -32,7 +32,7 @@ export default function ({ getService, getPageObjects }) {
it('displays message if login fails', async () => {
await PageObjects.security.loginPage.login('wrong-user', 'wrong-password', { expectSuccess: false });
const errorMessage = await PageObjects.security.loginPage.getErrorMessage();
expect(errorMessage).to.be('Oops! Error. Try again.');
expect(errorMessage).to.be('Invalid username or password. Please try again.');
});
});
});