From 146437a01ac079fa11aec8d65867d9507fbe5e3c Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Tue, 17 Nov 2026 03:07:02 -0500 Subject: [PATCH] =?UTF-8?q?Browser=20tests:=20the=20top=20bar's=20menu=20n?= =?UTF-8?q?ow=20starts=20with=20Libraries=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab --- e2e/mouse.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/mouse.spec.ts b/e2e/mouse.spec.ts index 26988dd..a7dc9d7 100644 --- a/e2e/mouse.spec.ts +++ b/e2e/mouse.spec.ts @@ -142,7 +142,7 @@ test("the ⋯ menus: a row's, the page's, a note's, a stale flag's", async ({ pa await expect(menu(page)).toHaveCount(0); await expect(page.locator(".title-editor")).toBeFocused(); await keys(page, "Escape"); - // The page's ⋯, in its byline: the document's items too. Esc closes it and the focus goes back to the ⋯. + // The page's ⋯, in its byline: the node's items too. Esc closes it and the focus goes back to the ⋯. const pageMore = page.locator(".top .byline .more"); await page.locator(".top").hover(); await pageMore.click(); @@ -236,13 +236,13 @@ test("the menu's keys: ↑ ↓ Home End move, Enter runs, Esc closes and gives t await expect(menu(page)).toBeVisible(); const focused = () => page.evaluate(() => document.activeElement?.querySelector(".lbl")?.textContent ?? document.activeElement?.textContent); await keys(page, "ArrowDown"); - expect(await focused()).toBe("Jump to a section…"); + expect(await focused()).toBe("Libraries…"); await keys(page, "ArrowDown"); - expect(await focused()).toBe("History and branches"); + expect(await focused()).toBe("Jump to a section…"); await keys(page, "ArrowUp ArrowUp"); expect(await focused()).toBe("Keys and help"); await keys(page, "Home"); - expect(await focused()).toBe("Jump to a section…"); + expect(await focused()).toBe("Libraries…"); await keys(page, "End Enter"); await expect(menu(page)).toHaveCount(0); await expect(page.locator(".help")).toBeVisible();