Skip to content

Commit

Permalink
Playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Nov 22, 2023
1 parent 7b1d1d4 commit 32951c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/pages/app/AccountNavigation/LanguageMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@
{#if langs.length > 1}
<!-- Language Menu -->
<Dropdown id="language" position="right">
<MenuTitle
slot="title"
label={currentLang[0] ?? $_("authSection.language.title")}
>
<MenuTitle slot="title" label={$_("authSection.language.title")}>
<div class="icon" slot="icon"><Globe16 /></div>
</MenuTitle>
<Menu>
Expand Down
2 changes: 1 addition & 1 deletion tests/anonymous/manager/app.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 32951c7

Please sign in to comment.