Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/e2e/explorer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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);
Expand Down
Loading