@@ -81,7 +81,7 @@
[class.isChecking]="actualLoginStep === LoginSteps.Checking"
[class.isWelcome]="actualLoginStep === LoginSteps.Welcome"
data-automation-id="login-button" [disabled]="!form.valid">
-
+
{{ 'LOGIN.BUTTON.LOGIN' | translate }}
diff --git a/lib/core/login/components/login.component.spec.ts b/lib/core/login/components/login.component.spec.ts
index 59e197a643..3364f3c7d7 100644
--- a/lib/core/login/components/login.component.spec.ts
+++ b/lib/core/login/components/login.component.spec.ts
@@ -100,6 +100,10 @@ describe('LoginComponent', () => {
fixture.detectChanges();
}
+ it('should be autocompelte off', () => {
+ expect(element.querySelector('#adf-login-form').getAttribute('autocomplete')).toBe('off');
+ });
+
it('should redirect to route on successful login', () => {
spyOn(authService, 'login').and.returnValue(Observable.of({ type: 'type', ticket: 'ticket'}));
const redirect = '/home';