mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
ESLint: cleanup await expect
from protractor tests (#9630)
This commit is contained in:
@@ -191,12 +191,12 @@ describe('Process List Test', () => {
|
||||
|
||||
const sortedProcessListNamesAsc = await processListDemoPage.getDisplayedProcessesNames();
|
||||
|
||||
await expect(JSON.stringify(processList) === JSON.stringify(sortedProcessListNamesAsc)).toBe(true);
|
||||
expect(JSON.stringify(processList) === JSON.stringify(sortedProcessListNamesAsc)).toBe(true);
|
||||
|
||||
await processListDemoPage.selectSorting('desc');
|
||||
await processListDemoPage.dataTable.waitTillContentLoaded();
|
||||
|
||||
const sortedProcessListNamesDesc = await processListDemoPage.getDisplayedProcessesNames();
|
||||
await expect(JSON.stringify(processList.reverse()) === JSON.stringify(sortedProcessListNamesDesc)).toBe(true);
|
||||
expect(JSON.stringify(processList.reverse()) === JSON.stringify(sortedProcessListNamesDesc)).toBe(true);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user