From c3f3caa824576ee7bc3c99fb3ac72aed6cdacd42 Mon Sep 17 00:00:00 2001 From: Robert Wagner Date: Tue, 1 Dec 2026 10:34:09 -0500 Subject: [PATCH] Find the explorer's search box by its new name in the typing tests #98 renamed the box to "Filter episodes" while #105's two typing tests were in review, and they still looked for "Search episodes". Co-Authored-By: Claude Opus 5.5 --- tests/e2e/explorer.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/explorer.spec.ts b/tests/e2e/explorer.spec.ts index cd32242..2e37aeb 100644 --- a/tests/e2e/explorer.spec.ts +++ b/tests/e2e/explorer.spec.ts @@ -90,7 +90,7 @@ test('leaves the search box holding what was typed', async ({ page }) => { (window as unknown as { writes: Array<{ from: string; to: string }> }) .writes ); - const box = page.getByRole('searchbox', { name: 'Search episodes' }); + const box = page.getByRole('searchbox', { name: 'Filter episodes' }); await box.pressSequentially('javascript'); await expect(page).toHaveURL(/#q=javascript$/); await expect(box).toHaveValue('javascript'); @@ -116,7 +116,7 @@ test('keeps the typed words when a filter changes before they apply', async ({ }); await expect(page).toHaveURL(/#q=css&kind=video$/); await expect( - page.getByRole('searchbox', { name: 'Search episodes' }) + page.getByRole('searchbox', { name: 'Filter episodes' }) ).toHaveValue('css'); const results = await shown(page); expect(results.every((card) => card.video)).toBe(true);