diff --git a/e2e/src/create.spec.ts b/e2e/src/create.spec.ts index 69d9675a..8078a35f 100644 --- a/e2e/src/create.spec.ts +++ b/e2e/src/create.spec.ts @@ -9,9 +9,9 @@ const createNewForm = async (page: Page) => { } const addQuestions = async (page: Page) => { - const menuButton = page.getByRole('button', { name: 'Question', exact: true }); + const menuButton = page.getByRole('button', { name: 'Add element', exact: true }); await menuButton.click(); - await page.getByRole('button', { name: 'Short Answer' }).click(); + await page.getByRole('button', { name: 'Short answer' }).click(); await menuButton.click(); await page.getByRole('button', { name: 'Multiple choice' }).click(); }