From 3904323f74841b923bd546840b7bbdc3461765cf Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Tue, 28 Jan 2020 10:32:44 +0100 Subject: [PATCH] Re-enable watcher FireFox functional test --- x-pack/test/functional/apps/watcher/watcher_test.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/x-pack/test/functional/apps/watcher/watcher_test.js b/x-pack/test/functional/apps/watcher/watcher_test.js index 8f9dccf853e9e..a3b955f8fccee 100644 --- a/x-pack/test/functional/apps/watcher/watcher_test.js +++ b/x-pack/test/functional/apps/watcher/watcher_test.js @@ -18,8 +18,7 @@ export default function({ getService, getPageObjects }) { const esSupertest = getService('esSupertest'); const PageObjects = getPageObjects(['security', 'common', 'header', 'settings', 'watcher']); - // Failing: https://github.com/elastic/kibana/issues/56014 - describe.skip('watcher_test', function() { + describe('watcher_test', function() { before('initialize tests', async () => { // There may be system watches if monitoring was previously enabled // These cannot be deleted via the UI, so we need to delete via the API @@ -34,7 +33,11 @@ export default function({ getService, getPageObjects }) { } await browser.setWindowSize(1600, 1000); - await PageObjects.common.navigateToApp('watcher'); + // TODO: Remove the retry.try wrapper once https://github.com/elastic/kibana/issues/55985 is resolved + retry.try(async () => { + await PageObjects.common.navigateToApp('watcher'); + await testSubjects.find('createWatchButton'); + }); }); it('create and save a new watch', async () => {