mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
This PR implements the K7 Login screen, as described in #20015 @ryankeairns @snide @kobelb ## Login form <img width="1310" alt="login" src="https://user-images.githubusercontent.com/3493255/46048123-d9e53d80-c0f5-11e8-9e56-acbe3a8f2b5a.png"> ## Invalid credentials  ## Session expired  ## No connection to Elasticsearch  ## Insecure connection  Closes #20015
This commit is contained in:
parent
6521387e27
commit
c4b0de7bff
30 changed files with 1481 additions and 250 deletions
|
@ -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.');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue