mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Vega] Stabilize the vega custom expressions tests (#150293)
## Summary Closes https://github.com/elastic/kibana/issues/150208 The problem is that it adds the filter badge twice. I think that it doesn't remove the previous one so a new is added. I think that waiting the chart to be rendered after the clearing of the filters will stabilize it. Runner 100 times ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
This commit is contained in:
parent
8f0d367ff6
commit
07b16a1193
1 changed files with 1 additions and 0 deletions
|
@ -224,6 +224,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
if (filtersCount > 0) {
|
||||
await filterBar.removeAllFilters();
|
||||
}
|
||||
await PageObjects.visChart.waitForVisualizationRenderingStabilized();
|
||||
});
|
||||
|
||||
const fillSpecAndGo = async (newSpec: string) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue