diff --git a/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreate.spec.tsx b/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreate.spec.tsx
index 69d3d2e2d0..a98b08d69e 100644
--- a/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreate.spec.tsx
+++ b/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreate.spec.tsx
@@ -6,24 +6,24 @@ import LiveCreate from './LiveCreate';
jest.mock('./LiveCreateForm', () => ({
__esModule: true,
- default: () =>
My LiveCreate Form
,
+ default: () => My WebinarCreate Form
,
}));
describe('', () => {
test('renders LiveCreate', () => {
render();
- const button = screen.getByRole('button', { name: /Create Live/i });
+ const button = screen.getByRole('button', { name: /Create Webinar/i });
expect(button).toBeInTheDocument();
expect(
- screen.queryByRole('heading', { name: /Create Live/i }),
+ screen.queryByRole('heading', { name: /Create Webinar/i }),
).not.toBeInTheDocument();
userEvent.click(button);
expect(
- screen.getByRole('heading', { name: /Create Live/i }),
+ screen.getByRole('heading', { name: /Create Webinar/i }),
).toBeInTheDocument();
- expect(screen.getByText('My LiveCreate Form')).toBeInTheDocument();
+ expect(screen.getByText('My WebinarCreate Form')).toBeInTheDocument();
});
});
diff --git a/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreate.tsx b/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreate.tsx
index 4190fd5284..bb484beebc 100644
--- a/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreate.tsx
+++ b/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreate.tsx
@@ -11,15 +11,15 @@ import { routes } from 'routes';
import LiveCreateForm from './LiveCreateForm';
const messages = defineMessages({
- LiveTitle: {
- defaultMessage: 'Lives',
- description: 'Lives title',
- id: 'features.Contents.features.Live.Create.LiveTitle',
+ WebinarTitle: {
+ defaultMessage: 'Webinars',
+ description: 'Webinars title',
+ id: 'features.Contents.features.Webinar.Create.WebinarTitle',
},
- CreateLiveLabel: {
- defaultMessage: 'Create Live',
- description: 'Text heading create live.',
- id: 'features.Contents.features.Live.Create.CreateLiveLabel',
+ CreateWebinarLabel: {
+ defaultMessage: 'Create Webinar',
+ description: 'Text heading create webinar.',
+ id: 'features.Contents.features.Webinar.Create.CreateWebinarLabel',
},
});
@@ -44,12 +44,12 @@ const LiveCreate = () => {
margin={{ bottom: 'medium' }}
>
- {intl.formatMessage(messages.LiveTitle)}
+ {intl.formatMessage(messages.WebinarTitle)}
@@ -67,7 +67,7 @@ const LiveCreate = () => {
textAlign="center"
weight="bold"
>
- {intl.formatMessage(messages.CreateLiveLabel)}
+ {intl.formatMessage(messages.CreateWebinarLabel)}
diff --git a/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreateForm.spec.tsx b/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreateForm.spec.tsx
index ddbc8d0aa0..2359d28335 100644
--- a/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreateForm.spec.tsx
+++ b/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreateForm.spec.tsx
@@ -52,7 +52,7 @@ describe('', () => {
screen.getByRole('textbox', { name: /description/i }),
).toBeInTheDocument();
expect(
- screen.getByRole('button', { name: /Add Live/i }),
+ screen.getByRole('button', { name: /Add Webinar/i }),
).toBeInTheDocument();
});
@@ -83,7 +83,7 @@ describe('', () => {
await waitFor(() =>
expect(
- screen.getByRole('button', { name: /Add Live/i }),
+ screen.getByRole('button', { name: /Add Webinar/i }),
).not.toBeDisabled(),
);
});
@@ -139,7 +139,7 @@ describe('', () => {
}),
).toBeInTheDocument();
- const submit = screen.getByRole('button', { name: /Add Live/i });
+ const submit = screen.getByRole('button', { name: /Add Webinar/i });
await waitFor(() => expect(submit).not.toBeDisabled());
@@ -198,7 +198,7 @@ describe('', () => {
}),
).toBeInTheDocument();
- const submit = screen.getByRole('button', { name: /Add Live/i });
+ const submit = screen.getByRole('button', { name: /Add Webinar/i });
await waitFor(() => expect(submit).not.toBeDisabled());
diff --git a/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreateForm.tsx b/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreateForm.tsx
index cfefe6dd3c..6283d020ee 100644
--- a/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreateForm.tsx
+++ b/src/frontend/apps/standalone_site/src/features/Contents/features/Live/components/Create/LiveCreateForm.tsx
@@ -15,22 +15,22 @@ import { routes } from 'routes';
const messages = defineMessages({
titleLabel: {
defaultMessage: 'Title',
- description: 'Label for title in live creation form.',
+ description: 'Label for title in webinar creation form.',
id: 'features.Contents.features.Live.LiveCreateForm.titleLabel',
},
descriptionLabel: {
defaultMessage: 'Description',
- description: 'Label for description in live creation form.',
+ description: 'Label for description in webinar creation form.',
id: 'features.Contents.features.Live.LiveCreateForm.descriptionLabel',
},
requiredField: {
- defaultMessage: 'This field is required to create the live.',
- description: 'Message when live field is missing.',
+ defaultMessage: 'This field is required to create the webinar.',
+ description: 'Message when webinar field is missing.',
id: 'features.Contents.features.Live.LiveCreateForm.requiredField',
},
submitLabel: {
- defaultMessage: 'Add Live',
- description: 'Label for button submit in live creation form.',
+ defaultMessage: 'Add Webinar',
+ description: 'Label for button submit in webinar creation form.',
id: 'features.Contents.features.Live.LiveCreateForm.submitLabel',
},
Error: {