Skip to content

Commit

Permalink
test(e2e): update tests to use new component names TCKT-464
Browse files Browse the repository at this point in the history
  • Loading branch information
kalasgarov committed Feb 27, 2025
1 parent 73bf8f9 commit 2c3b3fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/src/create.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 2c3b3fd

Please sign in to comment.