From ce5516de3af76641a6e55358bc1aeb14e5e47038 Mon Sep 17 00:00:00 2001 From: Du Peng Date: Mon, 4 Dec 2023 16:05:46 +0100 Subject: [PATCH] (test) fix a event form test --- test/frontend/components/events/event-form.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/frontend/components/events/event-form.test.tsx b/test/frontend/components/events/event-form.test.tsx index 219542a23..0ea2902a0 100644 --- a/test/frontend/components/events/event-form.test.tsx +++ b/test/frontend/components/events/event-form.test.tsx @@ -13,7 +13,7 @@ describe('EventForm', () => { render(); await waitFor(() => screen.getByRole('combobox', { name: /app.admin.event_form.event_category/ })); expect(screen.getByLabelText(/app.admin.event_form.title/)).toBeInTheDocument(); - expect(screen.getByLabelText(/app.admin.event_form.matching_visual/)).toBeInTheDocument(); + expect(screen.getByLabelText(/app.admin.event_form.illustration/)).toBeInTheDocument(); expect(screen.getByLabelText(/app.admin.event_form.description/)).toBeInTheDocument(); expect(screen.getByLabelText(/app.admin.event_form.event_type/)).toBeInTheDocument(); expect(screen.getByLabelText(/app.admin.event_form.event_category/)).toBeInTheDocument();