mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
parent
55b8130285
commit
7d1e3ea8bf
1 changed files with 6 additions and 1 deletions
|
@ -55,7 +55,12 @@ export function DiscoverPageProvider({ getService, getPageObjects }) {
|
|||
|
||||
async openSavedSearch() {
|
||||
await this.clickLoadSavedSearchButton();
|
||||
await testSubjects.exists('loadSearchForm');
|
||||
await retry.try(async () => {
|
||||
const isLoadFormVisible = await testSubjects.exists('loadSearchForm');
|
||||
if (!isLoadFormVisible) {
|
||||
throw new Error('Load search form not visible yet.');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
async hasSavedSearch(searchName) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue