From 96d74dca0a9158513ca896df14863f1d71b17798 Mon Sep 17 00:00:00 2001 From: Vineet Sharma Date: Mon, 16 Oct 2023 18:06:05 +0530 Subject: [PATCH] Fix overflow menu locator --- e2e/specs/conditions.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/specs/conditions.spec.ts b/e2e/specs/conditions.spec.ts index 710a058443..164c1c6619 100644 --- a/e2e/specs/conditions.spec.ts +++ b/e2e/specs/conditions.spec.ts @@ -46,7 +46,7 @@ test('Should add, delete and edit a condition', async ({ page, api }) => { }); await test.step('And I click on the edit condition button', async () => { - await page.getByRole('button', { name: 'Edit or delete condition' }).click(); + await page.getByRole('button', { name: 'Options' }).click(); await page.getByRole('menuitem', { name: 'Edit' }).click(); });