mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
This reverts commit f27d62585b
.
This commit is contained in:
@@ -1907,11 +1907,11 @@ describe('DocumentListComponent rendering', () => {
|
||||
const rows = fixture.nativeElement.querySelectorAll('.adf-datatable-body adf-datatable-row');
|
||||
expect(rows).toBeDefined();
|
||||
expect(rows.length).toBe(3);
|
||||
const cell1 = fixture.nativeElement.querySelector('td[title="Name"][data-automation-id="Name 1"]');
|
||||
const cell1 = fixture.nativeElement.querySelector('div[title="Name"][data-automation-id="Name 1"]');
|
||||
expect(cell1.innerText).toBe('Name 1');
|
||||
const cell2 = fixture.nativeElement.querySelector('td[title="Name"][data-automation-id="Name 2"]');
|
||||
const cell2 = fixture.nativeElement.querySelector('div[title="Name"][data-automation-id="Name 2"]');
|
||||
expect(cell2.innerText).toBe('Name 2');
|
||||
const cell3 = fixture.nativeElement.querySelector('td[title="Id"][data-automation-id="Name 3"]');
|
||||
const cell3 = fixture.nativeElement.querySelector('div[title="Id"][data-automation-id="Name 3"]');
|
||||
expect(cell3.innerText).toBe('3');
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user