mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
- remove some awaits
- add try catch - small refactoring
This commit is contained in:
@@ -50,10 +50,10 @@ export class SearchResultsPage extends BrowsingPage {
|
||||
};
|
||||
|
||||
async waitForResults() {
|
||||
return await this.dataTable.waitForBody();
|
||||
await this.dataTable.waitForBody();
|
||||
}
|
||||
|
||||
async getResultsHeader() {
|
||||
return await browser.element(by.css(SearchResultsPage.selectors.resultsContentHeader)).getText();
|
||||
return browser.element(by.css(SearchResultsPage.selectors.resultsContentHeader)).getText();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user