From 2c3b3fdcd7279d9a0db572f98ffe9e6eadd068e3 Mon Sep 17 00:00:00 2001 From: Khayal Alasgarov Date: Thu, 27 Feb 2025 07:35:22 -0800 Subject: [PATCH] test(e2e): update tests to use new component names TCKT-464 --- e2e/src/create.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }