mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Discover] Improve functional saved query test to prevent flakiness (#107204)
This commit is contained in:
parent
f27c94c118
commit
d4a225cb2c
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ export class SavedQueryManagementComponentService extends FtrService {
|
|||
|
||||
async savedQueryExist(title: string) {
|
||||
await this.openSavedQueryManagementComponent();
|
||||
const exists = this.testSubjects.exists(`~load-saved-query-${title}-button`);
|
||||
const exists = await this.testSubjects.exists(`~load-saved-query-${title}-button`);
|
||||
await this.closeSavedQueryManagementComponent();
|
||||
return exists;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue