mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
wait for index pattern button to be enabled (#93677)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
a79ebbe613
commit
ad5a7a528a
1 changed files with 7 additions and 2 deletions
|
@ -334,8 +334,13 @@ export function SettingsPageProvider({ getService, getPageObjects }: FtrProvider
|
|||
await retry.try(async () => {
|
||||
await this.setIndexPatternField(indexPatternName);
|
||||
});
|
||||
await PageObjects.common.sleep(2000);
|
||||
await (await this.getCreateIndexPatternGoToStep2Button()).click();
|
||||
|
||||
const btn = await this.getCreateIndexPatternGoToStep2Button();
|
||||
await retry.waitFor(`index pattern Go To Step 2 button to be enabled`, async () => {
|
||||
return await btn.isEnabled();
|
||||
});
|
||||
await btn.click();
|
||||
|
||||
await PageObjects.common.sleep(2000);
|
||||
if (timefield) {
|
||||
await this.selectTimeFieldOption(timefield);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue