mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
This reverts commit 9b6688ce10
.
This commit is contained in:
committed by
GitHub
parent
de537f0a0d
commit
0576aac985
@@ -207,7 +207,9 @@ describe('TaskAttachmentList', () => {
|
||||
|
||||
fixture.whenStable().then(() => {
|
||||
fixture.detectChanges();
|
||||
expect(fixture.nativeElement.querySelector('div[adf-empty-list-header]').value.trim()).toEqual('ADF_TASK_LIST.ATTACHMENT.EMPTY.HEADER');
|
||||
expect(fixture.nativeElement.querySelector('div[adf-empty-list-header]').innerText.trim()).toEqual(
|
||||
'ADF_TASK_LIST.ATTACHMENT.EMPTY.HEADER'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
|
@@ -64,7 +64,7 @@ describe('ProcessInstanceHeaderComponent', () => {
|
||||
component.ngOnChanges();
|
||||
fixture.detectChanges();
|
||||
const valueEl = fixture.nativeElement.querySelector('[data-automation-id="card-dateitem-ended"]');
|
||||
expect(valueEl.value).toBe('Nov 3, 2016');
|
||||
expect(valueEl.innerText).toBe('Nov 3, 2016');
|
||||
});
|
||||
|
||||
it('should display placeholder if no due date', () => {
|
||||
@@ -72,7 +72,7 @@ describe('ProcessInstanceHeaderComponent', () => {
|
||||
component.ngOnChanges();
|
||||
fixture.detectChanges();
|
||||
const valueEl = fixture.nativeElement.querySelector('[data-automation-id="card-dateitem-ended"]');
|
||||
expect(valueEl.value).toBe('ADF_PROCESS_LIST.PROPERTIES.END_DATE_DEFAULT');
|
||||
expect(valueEl.innerText).toBe('ADF_PROCESS_LIST.PROPERTIES.END_DATE_DEFAULT');
|
||||
});
|
||||
|
||||
it('should display process category', async () => {
|
||||
@@ -98,7 +98,7 @@ describe('ProcessInstanceHeaderComponent', () => {
|
||||
component.ngOnChanges();
|
||||
fixture.detectChanges();
|
||||
const valueEl = fixture.nativeElement.querySelector('[data-automation-id="card-dateitem-created"]');
|
||||
expect(valueEl.value).toBe('Nov 3, 2016');
|
||||
expect(valueEl.innerText).toBe('Nov 3, 2016');
|
||||
});
|
||||
|
||||
it('should display started by', async () => {
|
||||
|
Reference in New Issue
Block a user