mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
add short sleep before clicking Remove on sample data (#71104)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
6711d0d9e0
commit
0173ef3528
1 changed files with 4 additions and 0 deletions
|
@ -54,6 +54,10 @@ export function HomePageProvider({ getService, getPageObjects }: FtrProviderCont
|
|||
async removeSampleDataSet(id: string) {
|
||||
// looks like overkill but we're hitting flaky cases where we click but it doesn't remove
|
||||
await testSubjects.waitForEnabled(`removeSampleDataSet${id}`);
|
||||
// https://github.com/elastic/kibana/issues/65949
|
||||
// Even after waiting for the "Remove" button to be enabled we still have failures
|
||||
// where it appears the click just didn't work.
|
||||
await PageObjects.common.sleep(1010);
|
||||
await testSubjects.click(`removeSampleDataSet${id}`);
|
||||
await this._waitForSampleDataLoadingAction(id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue