mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[serverless] add long timeout retry to clickCreateIndexSaveButton
method (#185897)
## Summary add long timeout retry to `clickCreateIndexSaveButton` method
This commit is contained in:
parent
aa844e6a71
commit
82f2c96864
1 changed files with 3 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue