diff --git a/x-pack/test/functional/services/cases/list.ts b/x-pack/test/functional/services/cases/list.ts index de03d2a236e14..2a89efeaf9872 100644 --- a/x-pack/test/functional/services/cases/list.ts +++ b/x-pack/test/functional/services/cases/list.ts @@ -192,7 +192,10 @@ export function CasesTableServiceProvider( const row = rows[index]; await row.click(); - await find.existsByCssSelector('[data-test-subj*="case-action-popover-"'); + await retry.waitFor( + 'popover-action-exists', + async () => await find.existsByCssSelector('[data-test-subj*="case-action-popover-"') + ); }, async openAssigneesPopover() { @@ -223,6 +226,7 @@ export function CasesTableServiceProvider( await testSubjects.existOrFail(`cases-bulk-action-status-${status}`); await testSubjects.click(`cases-bulk-action-status-${status}`); + await header.waitUntilLoadingHasFinished(); }, async changeSeverity(severity: CaseSeverity, index: number) { @@ -240,6 +244,7 @@ export function CasesTableServiceProvider( await testSubjects.existOrFail(`cases-bulk-action-severity-${severity}`); await testSubjects.click(`cases-bulk-action-severity-${severity}`); + await header.waitUntilLoadingHasFinished(); }, async bulkChangeStatusCases(status: CaseStatuses) { diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group2/list_view.ts b/x-pack/test/functional_with_es_ssl/apps/cases/group2/list_view.ts index c15e574cad587..f19d488b4dc25 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/group2/list_view.ts +++ b/x-pack/test/functional_with_es_ssl/apps/cases/group2/list_view.ts @@ -602,8 +602,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { }); }); - // FLAKY: https://github.com/elastic/kibana/issues/160622 - describe.skip('Severity', () => { + describe('Severity', () => { before(async () => { await cases.api.createNthRandomCases(1); await header.waitUntilLoadingHasFinished();