mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
autocomplete off (#2938)
This commit is contained in:
@@ -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';
|
||||
|
Reference in New Issue
Block a user