diff --git a/x-pack/test/functional/apps/lens/group3/metric.ts b/x-pack/test/functional/apps/lens/group3/metric.ts index e187d7b66cdac..8a9ecb70ec556 100644 --- a/x-pack/test/functional/apps/lens/group3/metric.ts +++ b/x-pack/test/functional/apps/lens/group3/metric.ts @@ -59,8 +59,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { } }; - // Failing: See https://github.com/elastic/kibana/issues/138295 - describe.skip('lens metric', () => { + describe('lens metric', () => { it('should render a metric', async () => { await PageObjects.visualize.navigateToNewVisualization(); await PageObjects.visualize.clickVisType('lens'); @@ -158,7 +157,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const title = '93.28.27.24'; await clickMetric(title); - retry.try(async () => { + await retry.try(async () => { const labels = await filterBar.getFiltersLabel(); expect(labels.length).to.be(1); expect(labels[0]).to.be(`ip: ${title}`); @@ -174,6 +173,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { ); const colorPicker = await testSubjects.find('euiColorPickerAnchor'); + + colorPicker.clearValue(); await colorPicker.type('#000000'); await PageObjects.lens.waitForVisualization('mtrVis');