From 4330b032ba0b1d0d47f7160020c1cb2e6f6fff81 Mon Sep 17 00:00:00 2001 From: Hoang Pham Date: Tue, 14 Jul 2026 22:08:58 +0700 Subject: [PATCH] test(e2e): target exact Votings button Nextcloud master now includes board names in Files-row accessible labels, so the loose /voting/i selector matches two buttons. Signed-off-by: Hoang Pham --- playwright/e2e/voting.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright/e2e/voting.spec.ts b/playwright/e2e/voting.spec.ts index ffd657e8..75706160 100644 --- a/playwright/e2e/voting.spec.ts +++ b/playwright/e2e/voting.spec.ts @@ -16,7 +16,7 @@ test('Create a voting and add it to the whiteboard', async ({ page }) => { // Open the main menu and navigate to voting await page.getByTestId('main-menu-trigger').click() - await page.getByRole('button', { name: /voting/i }).click() + await page.getByRole('button', { name: 'Votings', exact: true }).click() // Start a new voting await page.getByRole('button', { name: /start new voting/i }).click()