mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Test improve (#6146)
* fix * fix datatable wait method * slow down isEmpty check * fix * fix * fix
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
|
||||
import {
|
||||
ApiService,
|
||||
BrowserActions,
|
||||
LocalStorageUtil,
|
||||
LoginPage,
|
||||
StringUtil,
|
||||
@@ -83,7 +82,10 @@ describe('Search Checklist Component', () => {
|
||||
|
||||
beforeEach(async () => {
|
||||
await navigationBarPage.clickContentServicesButton();
|
||||
await BrowserActions.getUrl(`${browser.baseUrl}/search;q=${randomName}`);
|
||||
await searchBarPage.checkSearchIconIsVisible();
|
||||
await searchBarPage.clickOnSearchIcon();
|
||||
await searchBarPage.enterTextAndPressEnter(randomName);
|
||||
await searchResults.dataTable.waitTillContentLoaded();
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
|
Reference in New Issue
Block a user