Skip to content

Commit

Permalink
a different approach
Browse files Browse the repository at this point in the history
  • Loading branch information
klacabane committed Oct 20, 2021
1 parent 0cbed86 commit 8b8aff8
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ export function MonitoringElasticsearchNodesProvider({ getService, getPageObject
}

async clickRowByResolver(nodeResolver) {
await this.waitForPageToFinishLoading();
await testSubjects.click(SUBJ_NODE_LINK_PREFIX + nodeResolver);
await retry.waitForWithTimeout('redirection to node detail', 5000, async () => {
await testSubjects.click(SUBJ_NODE_LINK_PREFIX + nodeResolver, 1000);
return testSubjects.exists('elasticsearchNodeDetailStatus', { timeout: 1000 });
});
}

async waitForPageToFinishLoading() {
Expand Down

0 comments on commit 8b8aff8

Please sign in to comment.