test(web): find the sidebar Today button by its English label

The shell contrast test added on main looks up the sidebar button by the
old German source text, which this branch replaces with "Today".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MRtGG9ARfqqhma3t85Ro2u
This commit is contained in:
Claude 2026-10-03 14:43:55 +00:00
parent 7c17694f5b
commit 0682f9b6f4
No known key found for this signature in database

View File

@ -221,8 +221,8 @@ test("shell surfaces stay readable in light and dark themes", async ({ page }, t
inside: true,
});
await expectReadable(
sidebar.getByRole("button", { name: "Heute", exact: true }),
`${theme}: Heute`,
sidebar.getByRole("button", { name: "Today", exact: true }),
`${theme}: Today`,
{ inside: true },
);
await expectReadable(