mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Lens] fix flaky metric test (#138585)
This commit is contained in:
parent
a9a1828a23
commit
1b71ff9e4e
1 changed files with 4 additions and 3 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue