diff --git a/web/e2e-tests/lib/common.ts b/web/e2e-tests/lib/common.ts index 4cf0dadfec..7e124f7419 100644 --- a/web/e2e-tests/lib/common.ts +++ b/web/e2e-tests/lib/common.ts @@ -275,7 +275,7 @@ export async function log_in( export async function log_out(page: Page): Promise { await page.goto(realm_url); const menu_selector = "#settings-dropdown"; - const logout_selector = '.dropdown-menu a[href="#logout"]'; + const logout_selector = ".dropdown-menu a.logout_button"; console.log("Logging out"); await page.waitForSelector(menu_selector, {visible: true}); await page.click(menu_selector); diff --git a/web/templates/gear_menu.hbs b/web/templates/gear_menu.hbs index c641a1a45b..195c2a37b5 100644 --- a/web/templates/gear_menu.hbs +++ b/web/templates/gear_menu.hbs @@ -176,7 +176,7 @@
  • - + {{t 'Log out' }}