From 2c8b518f6921061f6f646f26e17275bf976dd15f Mon Sep 17 00:00:00 2001 From: ymao1 Date: Wed, 13 Jan 2021 08:01:08 -0500 Subject: [PATCH] =?UTF-8?q?Fixes=20Failing=20test:=20Chrome=20X-Pack=20UI?= =?UTF-8?q?=20Functional=20Tests.x-pack/test/functional=5Fwith=5Fes=5Fssl/?= =?UTF-8?q?apps/triggers=5Factions=5Fui/alerts=5Flist=C2=B7ts=20-=20Action?= =?UTF-8?q?s=20and=20Triggers=20app=20alerts=20list=20should=20display=20t?= =?UTF-8?q?otal=20alerts=20by=20status=20and=20error=20banner=20only=20whe?= =?UTF-8?q?n=20exists=20alerts=20with=20status=20error=20(#88119)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Unskipping test * Adding refresh before checking status --- .../apps/triggers_actions_ui/alerts_list.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alerts_list.ts b/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alerts_list.ts index 36812d0cd9ee..ca753e9253bd 100644 --- a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alerts_list.ts +++ b/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alerts_list.ts @@ -53,8 +53,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { await testSubjects.click('alertsTab'); } - // Failing: See https://github.com/elastic/kibana/issues/87105 - describe.skip('alerts list', function () { + describe('alerts list', function () { before(async () => { await pageObjects.common.navigateToApp('triggersActions'); await testSubjects.click('alertsTab'); @@ -407,6 +406,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { ).to.equal('Error found in 1 alert.'); }); + await refreshAlertsList(); expect(await testSubjects.getVisibleText('totalAlertsCount')).to.be( 'Showing: 2 of 2 alerts.' );