Skip to content

Commit

Permalink
clear input before typing new color
Browse files Browse the repository at this point in the history
  • Loading branch information
drewdaemon committed Aug 11, 2022
1 parent 1bab577 commit b2951f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions x-pack/test/functional/apps/lens/group3/metric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit b2951f3

Please sign in to comment.