diff --git a/frontend/src/component/changeRequest/ChangeRequest/Changes/Change/ArchiveFeatureChange.tsx b/frontend/src/component/changeRequest/ChangeRequest/Changes/Change/ArchiveFeatureChange.tsx index a96a034e76..9f62e99db3 100644 --- a/frontend/src/component/changeRequest/ChangeRequest/Changes/Change/ArchiveFeatureChange.tsx +++ b/frontend/src/component/changeRequest/ChangeRequest/Changes/Change/ArchiveFeatureChange.tsx @@ -16,7 +16,7 @@ export const ArchiveFeatureChange: FC = ({ actions, }) => ( - Archiving feature + Archiving flag {actions} ); diff --git a/frontend/src/component/common/FeatureArchiveDialog/FeatureArchiveDialog.test.tsx b/frontend/src/component/common/FeatureArchiveDialog/FeatureArchiveDialog.test.tsx index 65e7a755d7..139a63e8ea 100644 --- a/frontend/src/component/common/FeatureArchiveDialog/FeatureArchiveDialog.test.tsx +++ b/frontend/src/component/common/FeatureArchiveDialog/FeatureArchiveDialog.test.tsx @@ -70,7 +70,7 @@ test('Add single archive feature change to change request', async () => { expect(screen.getByText('Archive feature flag')).toBeInTheDocument(); await screen.findByText( - 'Archiving features with dependencies will also remove those dependencies.', + 'Archiving flags with dependencies will also remove those dependencies.', ); const button = await screen.findByText('Add change to draft'); @@ -100,7 +100,7 @@ test('Add multiple archive feature changes to change request', async () => { await screen.findByText('Archive feature flags'); await screen.findByText( - 'Archiving features with dependencies will also remove those dependencies.', + 'Archiving flags with dependencies will also remove those dependencies.', ); const button = await screen.findByText('Add to change request'); @@ -163,7 +163,7 @@ test('Show error message when multiple parents of orphaned children are archived ); expect( screen.queryByText( - 'Archiving features with dependencies will also remove those dependencies.', + 'Archiving flags with dependencies will also remove those dependencies.', ), ).not.toBeInTheDocument(); }); @@ -189,7 +189,7 @@ test('Show error message when 1 parent of orphaned children is archived', async ); expect( screen.queryByText( - 'Archiving features with dependencies will also remove those dependencies.', + 'Archiving flags with dependencies will also remove those dependencies.', ), ).not.toBeInTheDocument(); }); diff --git a/frontend/src/component/common/FeatureArchiveDialog/FeatureArchiveDialog.tsx b/frontend/src/component/common/FeatureArchiveDialog/FeatureArchiveDialog.tsx index 954febd1db..a9df36b147 100644 --- a/frontend/src/component/common/FeatureArchiveDialog/FeatureArchiveDialog.tsx +++ b/frontend/src/component/common/FeatureArchiveDialog/FeatureArchiveDialog.tsx @@ -26,7 +26,7 @@ interface IFeatureArchiveDialogProps { const RemovedDependenciesAlert = () => { return ( theme.spacing(2, 0) }}> - Archiving features with dependencies will also remove those + Archiving flags with dependencies will also remove those dependencies. );