Skip to content

Commit

Permalink
increase timeout to 20 sec to find and click the hybrid visualization
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed Jul 8, 2020
1 parent 52bbbff commit 330935d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/functional/page_objects/visualize_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,8 @@ export function VisualizePageProvider({ getService, getPageObjects }: FtrProvide

public async openSavedVisualization(vizName: string) {
const dataTestSubj = `visListingTitleLink-${vizName.split(' ').join('-')}`;
await retry.try(async () => {
await testSubjects.click(dataTestSubj);
await header.waitUntilLoadingHasFinished();
});
await testSubjects.click(dataTestSubj, 20000);
await header.waitUntilLoadingHasFinished();
}

public async waitForVisualizationSavedToastGone() {
Expand Down

0 comments on commit 330935d

Please sign in to comment.