mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
fix waiting
This commit is contained in:
parent
41b42567da
commit
93e44ce636
1 changed files with 1 additions and 2 deletions
|
@ -481,10 +481,9 @@ export function VisualBuilderPageProvider({ getService, getPageObjects }: FtrPro
|
|||
}
|
||||
|
||||
public async cloneSeries(nth: number = 0): Promise<void> {
|
||||
const prevRenderingCount = await PageObjects.visualize.getVisualizationRenderingCount();
|
||||
const cloneBtnArray = await testSubjects.findAll('AddCloneBtn');
|
||||
await cloneBtnArray[nth].click();
|
||||
await PageObjects.visualize.waitForRenderingCount(prevRenderingCount + 1);
|
||||
await PageObjects.visualize.waitForVisualizationRenderingStabilized();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue