[ADF-5123] C315268 not working correctly (#5643)

* [ADF-5123] C315268 not working correctly

* * improved code

* * fixed process list error

* * fixed process list error

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
This commit is contained in:
dhrn
2020-05-01 15:08:45 +05:30
committed by GitHub
parent 608abde10e
commit 7cc1ba6042
5 changed files with 12 additions and 8 deletions

View File

@@ -131,6 +131,11 @@ export class ContentNodeSelectorDialogPage {
async searchAndSelectResult(searchText: string, name: string) {
await this.typeIntoNodeSelectorSearchField(searchText);
try {
await this.contentListPage().dataTablePage().checkRowContentIsDisplayed(name);
} catch (e) {
console.error(`failed to get search result :: ${name}`);
}
await this.clickContentNodeSelectorResult(name);
}