From 32951c7025b4b711f1b9d04c15d74593cd67da49 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Wed, 22 Nov 2023 18:38:35 -0500 Subject: [PATCH] Playwright --- src/pages/app/AccountNavigation/LanguageMenu.svelte | 5 +---- tests/anonymous/manager/app.spec.js | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/pages/app/AccountNavigation/LanguageMenu.svelte b/src/pages/app/AccountNavigation/LanguageMenu.svelte index 2154a28cc..ccb1bb3f3 100644 --- a/src/pages/app/AccountNavigation/LanguageMenu.svelte +++ b/src/pages/app/AccountNavigation/LanguageMenu.svelte @@ -32,10 +32,7 @@ {#if langs.length > 1} - +
diff --git a/tests/anonymous/manager/app.spec.js b/tests/anonymous/manager/app.spec.js index c95bcb3e2..5b338d954 100644 --- a/tests/anonymous/manager/app.spec.js +++ b/tests/anonymous/manager/app.spec.js @@ -36,7 +36,7 @@ test.describe("manager tests", () => { await page.locator(".overlay").click(); // language - await page.getByText("US English", { exact: true }).dispatchEvent("click"); + await page.getByText("Language", { exact: true }).dispatchEvent("click"); await expect(page.getByRole("button", { name: "EspaƱol" })).toBeVisible(); await page.locator(".overlay").click();