Skip to content

Commit

Permalink
[serverless] add long timeout retry to clickCreateIndexSaveButton m…
Browse files Browse the repository at this point in the history
…ethod (#185897)

## Summary

add long timeout retry to  `clickCreateIndexSaveButton` method
  • Loading branch information
wayneseymour authored Jun 11, 2024
1 parent aa844e6 commit 82f2c96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x-pack/test/functional/page_objects/index_management_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ export function IndexManagementPageProvider({ getService }: FtrProviderContext)
async clickCreateIndexSaveButton() {
await testSubjects.click('createIndexSaveButton');
// Wait for modal to close
await testSubjects.missingOrFail('createIndexSaveButton');
await testSubjects.missingOrFail('createIndexSaveButton', {
timeout: 30_000,
});
},
async expectIndexToExist(indexName: string) {
const table = await find.byCssSelector('table');
Expand Down

0 comments on commit 82f2c96

Please sign in to comment.