diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx b/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx index 5d5f3c2c742ec..d648fc2b6faee 100644 --- a/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx +++ b/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx @@ -179,6 +179,7 @@ describe('Case View Page activity tab', () => { expect(await screen.findByTestId('case-view-activity')).toBeInTheDocument(); expect(await screen.findAllByTestId('user-actions-list')).toHaveLength(2); + expect(await screen.findByTestId('description')).toBeInTheDocument(); expect(await screen.findByTestId('case-tags')).toBeInTheDocument(); expect(await screen.findByTestId('cases-categories')).toBeInTheDocument(); expect(await screen.findByTestId('connector-edit-header')).toBeInTheDocument(); @@ -417,38 +418,7 @@ describe('Case View Page activity tab', () => { }); }); - // FLAKY: https://github.com/elastic/kibana/issues/151981 - describe.skip('User actions', () => { - it('renders the description correctly', async () => { - appMockRender = createAppMockRenderer(); - appMockRender.render(); - - const description = within(await screen.findByTestId('description')); - - expect(await description.findByText(caseData.description)).toBeInTheDocument(); - }); - - it('renders edit description user action correctly', async () => { - useFindCaseUserActionsMock.mockReturnValue({ - ...defaultUseFindCaseUserActions, - data: { - userActions: [ - getUserAction('description', 'create'), - getUserAction('description', 'update'), - ], - }, - }); - - appMockRender = createAppMockRenderer(); - appMockRender.render(); - - const userActions = within((await screen.findAllByTestId('user-actions-list'))[1]); - - expect( - userActions.getByTestId('description-update-action-description-update') - ).toBeInTheDocument(); - }); - + describe('User actions', () => { it('renders the unassigned users correctly', async () => { useFindCaseUserActionsMock.mockReturnValue({ ...defaultUseFindCaseUserActions,