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)}