mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
stabilize legend filter click (#136925)
This commit is contained in:
parent
8b21e25ecf
commit
6e3f5850ff
1 changed files with 2 additions and 0 deletions
|
@ -167,6 +167,8 @@ export class VisualizeChartPageObject extends FtrService {
|
|||
public async filterLegend(name: string, force = false) {
|
||||
await this.toggleLegend(force);
|
||||
await this.testSubjects.click(`legend-${name}`);
|
||||
// wait for a short amount of time for popover to stabilize as there is no good way to check for that
|
||||
await this.common.sleep(250);
|
||||
const filterIn = await this.testSubjects.find(`legend-${name}-filterIn`);
|
||||
await filterIn.click();
|
||||
await this.waitForVisualizationRenderingStabilized();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue