From b2951f3edcd33abcd940276b62c89641de6e912a Mon Sep 17 00:00:00 2001 From: Andrew Tate Date: Wed, 10 Aug 2022 19:32:42 -0500 Subject: [PATCH] clear input before typing new color --- x-pack/test/functional/apps/lens/group3/metric.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/x-pack/test/functional/apps/lens/group3/metric.ts b/x-pack/test/functional/apps/lens/group3/metric.ts index e187d7b66cdac..8bab5b5b87918 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'); @@ -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');