mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Process list implement pagination interface (#2872)
This commit is contained in:
committed by
Eugenio Romano
parent
105bc80d2c
commit
0f6ac42e4c
@@ -104,7 +104,7 @@ describe('CommentsComponent', () => {
|
||||
});
|
||||
}));
|
||||
|
||||
it('should display comments count when the task has comments', () => {
|
||||
it('should display comments count when the task has comments', async(() => {
|
||||
let change = new SimpleChange(null, '123', true);
|
||||
component.ngOnChanges({ 'taskId': change });
|
||||
fixture.whenStable().then(() => {
|
||||
@@ -112,7 +112,7 @@ describe('CommentsComponent', () => {
|
||||
let element = fixture.nativeElement.querySelector('#comment-header');
|
||||
expect(element.innerText).toBe('ADF_TASK_LIST.DETAILS.COMMENTS.HEADER');
|
||||
});
|
||||
});
|
||||
}));
|
||||
|
||||
it('should not display comments when the task has no comments', async(() => {
|
||||
component.taskId = '123';
|
||||
|
@@ -100,7 +100,7 @@ describe('ActivitiProcessInstanceComments', () => {
|
||||
});
|
||||
}));
|
||||
|
||||
it('should display comments count when the process has comments', () => {
|
||||
it('should display comments count when the process has comments', async(() => {
|
||||
let change = new SimpleChange(null, '123', true);
|
||||
component.ngOnChanges({ 'processInstanceId': change });
|
||||
|
||||
@@ -109,7 +109,7 @@ describe('ActivitiProcessInstanceComments', () => {
|
||||
let element = fixture.nativeElement.querySelector('#comment-header');
|
||||
expect(element.innerText).toBe('ADF_PROCESS_LIST.DETAILS.COMMENTS.HEADER');
|
||||
});
|
||||
});
|
||||
}));
|
||||
|
||||
it('should not display comments when the process has no comments', async(() => {
|
||||
let change = new SimpleChange(null, '123', true);
|
||||
|
Reference in New Issue
Block a user