From 9177f99f20ddef3465d3b2ac9e274f31532e6044 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Wed, 22 Nov 2023 16:24:31 -0500 Subject: [PATCH] Update Playwright tests --- tests/anonymous/manager/app.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/anonymous/manager/app.spec.js b/tests/anonymous/manager/app.spec.js index 85ac9a7bf..a74e71934 100644 --- a/tests/anonymous/manager/app.spec.js +++ b/tests/anonymous/manager/app.spec.js @@ -29,15 +29,15 @@ test.describe("manager tests", () => { await page.goto("/app"); // help - await page.getByText("Help").click(); + await page.getByText("Help", { exact: true }).click(); await expect(page.getByRole("button", { name: "FAQ" })).toBeVisible(); // close the menu await page.locator(".overlay").click(); // language - await page.getByText("Language").click(); - await expect(page.getByRole("button", { name: "English" })).toBeVisible(); + await page.getByText("US English").click(); + await expect(page.getByRole("button", { name: "EspaƱol" })).toBeVisible(); await page.locator(".overlay").click(); });