From 9a77e9d78e1712de25e92cc9601b211fe382c30c Mon Sep 17 00:00:00 2001 From: Julia Rechkunova Date: Tue, 24 May 2022 15:42:55 +0200 Subject: [PATCH] [Discover] Fix flaky test for "context encoded URL params" --- test/functional/apps/discover/_context_encoded_url_param.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/apps/discover/_context_encoded_url_param.ts b/test/functional/apps/discover/_context_encoded_url_param.ts index 95540c929130c..44cd18285dc50 100644 --- a/test/functional/apps/discover/_context_encoded_url_param.ts +++ b/test/functional/apps/discover/_context_encoded_url_param.ts @@ -17,8 +17,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const testSubjects = getService('testSubjects'); const es = getService('es'); - // Failing: See https://github.com/elastic/kibana/issues/132553 - describe.skip('encoded URL params in context page', () => { + describe('encoded URL params in context page', () => { before(async function () { await security.testUser.setRoles(['kibana_admin', 'context_encoded_param']); await PageObjects.common.navigateToApp('settings'); @@ -40,6 +39,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should navigate correctly', async () => { await PageObjects.discover.selectIndexPattern('context-encoded-param'); await PageObjects.header.waitUntilLoadingHasFinished(); + await PageObjects.discover.waitForDocTableLoadingComplete(); // navigate to the context view await dataGrid.clickRowToggle({ rowIndex: 0 });