mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
remove not needed spaces (#5495)
* remove not usefull spaces * increase timeout * increase timeout * fix
This commit is contained in:
@@ -201,8 +201,7 @@ describe('AppsListComponent', () => {
|
||||
fixture.detectChanges();
|
||||
expect(debugElement.queryAll(By.css('h1')).length).toBe(1);
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('select apps', () => {
|
||||
|
||||
@@ -235,9 +234,7 @@ describe('AppsListComponent', () => {
|
||||
const appEls = debugElement.queryAll(By.css('.adf-app-listgrid > div'));
|
||||
expect(appEls[1].query(By.css('.adf-app-listgrid-item-card-actions-icon'))).not.toBeNull();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
@Component({
|
||||
|
@@ -116,5 +116,4 @@ describe('CreateProcessAttachmentComponent', () => {
|
||||
responseText: JSON.stringify(fakeUploadResponse)
|
||||
});
|
||||
}));
|
||||
|
||||
});
|
||||
|
@@ -287,9 +287,7 @@ describe('ProcessAttachmentListComponent', () => {
|
||||
it('should display a dialog to the user when the Add button clicked', () => {
|
||||
expect(true).toBe(true);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
@Component({
|
||||
|
@@ -312,8 +312,7 @@ describe('TaskAttachmentList', () => {
|
||||
fixture.detectChanges();
|
||||
expect(deleteContentSpy).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@Component({
|
||||
|
@@ -111,8 +111,7 @@ describe('AttachFileWidgetDialogComponent', () => {
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('When is logged in', () => {
|
||||
|
||||
@@ -145,7 +144,5 @@ describe('AttachFileWidgetDialogComponent', () => {
|
||||
chooseButton.click();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
@@ -62,5 +62,4 @@ describe('AttachFileWidgetDialogService', () => {
|
||||
service.close();
|
||||
expect(materialDialog.closeAll).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -418,7 +418,5 @@ describe('AttachFileWidgetComponent', () => {
|
||||
const showOption: HTMLButtonElement = <HTMLButtonElement> fixture.debugElement.query(By.css('#file-1155-show-file')).nativeElement;
|
||||
expect(showOption.disabled).toBeTruthy();
|
||||
}));
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
@@ -150,5 +150,4 @@ describe('AttachFolderWidgetComponent', () => {
|
||||
expect(element.querySelector('#folder-fake-widget')).toBeNull();
|
||||
});
|
||||
}));
|
||||
|
||||
});
|
||||
|
@@ -66,8 +66,7 @@ describe('PeopleSearchComponent', () => {
|
||||
.then(() => {
|
||||
expect(element.querySelector('#search-people-list')).toBeNull();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should show user which can be involved ', (done) => {
|
||||
peopleSearchComponent.results = of(userArray);
|
||||
|
@@ -167,5 +167,4 @@ describe('ProcessAuditDirective', () => {
|
||||
button.click();
|
||||
|
||||
}));
|
||||
|
||||
});
|
||||
|
@@ -185,6 +185,5 @@ describe('ProcessInstanceHeaderComponent', () => {
|
||||
expect(propertyList[2].innerText).toContain('ADF_PROCESS_LIST.PROPERTIES.CATEGORY');
|
||||
});
|
||||
}));
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -510,7 +510,5 @@ describe('StartFormComponent', () => {
|
||||
expect(component.hasStartForm()).toBe(true);
|
||||
});
|
||||
}));
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
@@ -118,8 +118,7 @@ describe('ProcessService', () => {
|
||||
}
|
||||
);
|
||||
}));
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('process instance', () => {
|
||||
|
||||
@@ -169,8 +168,7 @@ describe('ProcessService', () => {
|
||||
}
|
||||
);
|
||||
}));
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('start process instance', () => {
|
||||
|
||||
@@ -233,8 +231,7 @@ describe('ProcessService', () => {
|
||||
}
|
||||
);
|
||||
}));
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('cancel process instance', () => {
|
||||
|
||||
@@ -282,8 +279,7 @@ describe('ProcessService', () => {
|
||||
}
|
||||
);
|
||||
}));
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('process definitions', () => {
|
||||
|
||||
@@ -344,8 +340,7 @@ describe('ProcessService', () => {
|
||||
}
|
||||
);
|
||||
}));
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('process instance tasks', () => {
|
||||
|
||||
@@ -413,8 +408,7 @@ describe('ProcessService', () => {
|
||||
}
|
||||
);
|
||||
}));
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('process variables', () => {
|
||||
|
||||
@@ -532,6 +526,5 @@ describe('ProcessService', () => {
|
||||
}));
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -285,5 +285,4 @@ describe('ChecklistComponent', () => {
|
||||
addButtonDialog.click();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -39,5 +39,4 @@ describe('NoTaskDetailsTemplateDirective', () => {
|
||||
component.ngAfterContentInit();
|
||||
expect(detailsComponent.noTaskDetailsTemplateComponent).toBe(testTemplate);
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -153,5 +153,4 @@ describe('TaskAuditDirective', () => {
|
||||
button.click();
|
||||
|
||||
}));
|
||||
|
||||
});
|
||||
|
@@ -371,8 +371,7 @@ describe('TaskDetailsComponent', () => {
|
||||
component.onChecklistTaskCreated(mockTask);
|
||||
expect(emitSpy).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('Comments', () => {
|
||||
|
||||
@@ -501,5 +500,4 @@ describe('TaskDetailsComponent', () => {
|
||||
expect(assignTaskSpy).toHaveBeenCalled();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -102,8 +102,7 @@ describe('TaskFiltersComponent', () => {
|
||||
expect(err).toBeDefined();
|
||||
done();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should return the filter task list', (done) => {
|
||||
spyOn(taskFilterService, 'getTaskListFilters').and.returnValue(from(fakeGlobalFilterPromise));
|
||||
@@ -161,8 +160,7 @@ describe('TaskFiltersComponent', () => {
|
||||
expect(component.currentFilter.name).toEqual('FakeInvolvedTasks');
|
||||
done();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should be able to fetch and select the default if the input filter is not valid', (done) => {
|
||||
spyOn(taskFilterService, 'getTaskListFilters').and.returnValue(from(fakeGlobalEmptyFilterPromise));
|
||||
@@ -195,8 +193,7 @@ describe('TaskFiltersComponent', () => {
|
||||
expect(component.currentFilter.name).toEqual('FakeMyTasks1');
|
||||
done();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should select the default task filter if filter input does not exist', (done) => {
|
||||
spyOn(taskFilterService, 'getTaskListFilters').and.returnValue(from(fakeGlobalFilterPromise));
|
||||
@@ -215,8 +212,7 @@ describe('TaskFiltersComponent', () => {
|
||||
expect(component.currentFilter.name).toEqual('FakeInvolvedTasks');
|
||||
done();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should select the task filter based on the input by index param', (done) => {
|
||||
spyOn(taskFilterService, 'getTaskListFilters').and.returnValue(from(fakeGlobalFilterPromise));
|
||||
@@ -235,8 +231,7 @@ describe('TaskFiltersComponent', () => {
|
||||
expect(component.currentFilter.name).toEqual('FakeMyTasks2');
|
||||
done();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should select the task filter based on the input by id param', (done) => {
|
||||
spyOn(taskFilterService, 'getTaskListFilters').and.returnValue(from(fakeGlobalFilterPromise));
|
||||
@@ -255,8 +250,7 @@ describe('TaskFiltersComponent', () => {
|
||||
expect(component.currentFilter.name).toEqual('FakeInvolvedTasks');
|
||||
done();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should emit an event when a filter is selected', (done) => {
|
||||
const currentFilter = fakeGlobalFilter[0];
|
||||
|
@@ -195,7 +195,5 @@ describe('Activiti Task filter Service', () => {
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user