mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
fix e2e tests and cleanup e2e typings (#5770)
* cleanup e2e typings * fix e2e tests
This commit is contained in:
@@ -180,13 +180,13 @@ describe('Search Sorting Picker', () => {
|
||||
|
||||
it('[C277286] Should be able to sort the search results by "Created Date" ASC', async () => {
|
||||
await searchResults.sortByCreated('ASC');
|
||||
const results: any = searchResults.dataTable.geCellElementDetail('Created');
|
||||
const results = await searchResults.dataTable.geCellElementDetail('Created');
|
||||
await expect(contentServices.checkElementsDateSortedAsc(results)).toBe(true);
|
||||
});
|
||||
|
||||
it('[C277287] Should be able to sort the search results by "Created Date" DESC', async () => {
|
||||
await searchResults.sortByCreated('DESC');
|
||||
const results = searchResults.dataTable.geCellElementDetail('Created');
|
||||
const results = await searchResults.dataTable.geCellElementDetail('Created');
|
||||
await expect(contentServices.checkElementsDateSortedDesc(results)).toBe(true);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user