From 27ae3dea1da5926aadcd68e41cf0e420c1d97b91 Mon Sep 17 00:00:00 2001 From: Devon A Thomson Date: Wed, 27 Oct 2021 18:30:02 -0400 Subject: [PATCH] Unskip dashboard by value example tests, deescribe.only to test flakiness --- test/examples/embeddables/dashboard.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/examples/embeddables/dashboard.ts b/test/examples/embeddables/dashboard.ts index 5c255b136c666..827eb3bb121f1 100644 --- a/test/examples/embeddables/dashboard.ts +++ b/test/examples/embeddables/dashboard.ts @@ -97,11 +97,10 @@ export default function ({ getService, getPageObjects }: PluginFunctionalProvide const pieChart = getService('pieChart'); const dashboardExpect = getService('dashboardExpect'); const elasticChart = getService('elasticChart'); - const PageObjects = getPageObjects(['common', 'visChart']); + const PageObjects = getPageObjects(['common', 'visChart', 'header']); const monacoEditor = getService('monacoEditor'); - // FLAKY: https://github.com/elastic/kibana/issues/116414 - describe.skip('dashboard container', () => { + describe.only('dashboard container', () => { before(async () => { await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/dashboard/current/data'); await esArchiver.loadIfNeeded( @@ -109,6 +108,8 @@ export default function ({ getService, getPageObjects }: PluginFunctionalProvide ); await PageObjects.common.navigateToApp('dashboardEmbeddableExamples'); await testSubjects.click('dashboardEmbeddableByValue'); + await PageObjects.header.waitUntilLoadingHasFinished(); + await updateInput(JSON.stringify(testDashboardInput, null, 4)); });