[Metrics UI] Stabilize group header functional test (#122169) (#122279)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2022-01-04 13:43:58 -05:00 committed by GitHub
parent 3906188cbb
commit 2dc83cd2fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,8 +96,10 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
it('group nodes by custom field', async () => {
await pageObjects.infraHome.goToTime(DATE_WITH_DATA);
await pageObjects.infraHome.getWaffleMap();
const groups = await pageObjects.infraHome.groupByCustomField('host.os.platform');
expect(groups).to.eql(['ubuntu']);
await retry.try(async () => {
const groups = await pageObjects.infraHome.groupByCustomField('host.os.platform');
expect(groups).to.eql(['ubuntu']);
});
});
it('filter nodes by search term', async () => {