mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
update e2e test
This commit is contained in:
parent
9f113ecd15
commit
a98249e07f
@ -132,8 +132,8 @@ describe('Login component', () => {
|
||||
it('[C260046] Should NOT be possible to login with an invalid username/password', async () => {
|
||||
await loginPage.goToLoginPage();
|
||||
await expect(await loginPage.getSignInButtonIsEnabled()).toBe(false);
|
||||
await loginPage.enterUsername('test');
|
||||
await loginPage.enterPassword('test');
|
||||
await loginPage.enterUsername('impossible-user');
|
||||
await loginPage.enterPassword('impossible-password');
|
||||
await expect(await loginPage.getSignInButtonIsEnabled()).toBe(true);
|
||||
await loginPage.clickSignInButton();
|
||||
await expect(await loginPage.getLoginError()).toEqual(errorMessages.invalid_credentials);
|
||||
|
Loading…
x
Reference in New Issue
Block a user