mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[visualize] wait for save to complete before proceeding (#40916)
This commit is contained in:
parent
4f7876cd93
commit
3e1afa347b
1 changed files with 3 additions and 0 deletions
|
@ -729,6 +729,9 @@ export function VisualizePageProvider({ getService, getPageObjects, updateBaseli
|
|||
}
|
||||
log.debug('Click Save Visualization button');
|
||||
await testSubjects.click('confirmSaveSavedObjectButton');
|
||||
|
||||
// wait for save to complete before completion
|
||||
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||
}
|
||||
|
||||
async saveVisualizationExpectSuccess(vizName, { saveAsNew = false } = {}) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue