diff --git a/frontend/src/component/feature/FeatureToggleList/FeatureToggleFilters/LifecycleFilters.test.tsx b/frontend/src/component/feature/FeatureToggleList/FeatureToggleFilters/LifecycleFilters.test.tsx index 2dded0acfa..7acd519b14 100644 --- a/frontend/src/component/feature/FeatureToggleList/FeatureToggleFilters/LifecycleFilters.test.tsx +++ b/frontend/src/component/feature/FeatureToggleList/FeatureToggleFilters/LifecycleFilters.test.tsx @@ -47,7 +47,7 @@ describe('LifecycleFilters', () => { , ); - expect(getByText('All flags (10)')).toBeInTheDocument(); + expect(getByText('All flags')).toBeInTheDocument(); expect(getByText('Develop (2)')).toBeInTheDocument(); expect(getByText('Rollout production (3)')).toBeInTheDocument(); expect(getByText('Cleanup (4)')).toBeInTheDocument(); @@ -98,7 +98,7 @@ describe('LifecycleFilters', () => { lifecycle: { operator: 'IS', values: ['completed'] }, }); - await userEvent.click(getByText('All flags (10)')); + await userEvent.click(getByText('All flags')); expect(onChange).toHaveBeenCalledWith({ lifecycle: null }); }); });