Skip to content
Merged
Show file tree
Hide file tree
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: 3 additions & 1 deletion apps/website/e2e/docs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ test.describe('Docs search', () => {
const searchInput = page.locator('input[placeholder*="Search"], input[type="search"]').first();
await searchInput.fill('choosing adapter');

await expect(page.getByRole('button', { name: /Choosing an adapter/i })).toBeVisible();
// Search results are role="option" inside the listbox (a11y pass, #865) —
// an explicit ARIA role overrides the implicit button role.
await expect(page.getByRole('option', { name: /Choosing an adapter/i })).toBeVisible();
await expect(page.getByText('No results found')).toHaveCount(0);
});
});
6 changes: 0 additions & 6 deletions apps/website/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@
}
},
"e2e": {
"executor": "nx:run-commands",
"options": {
"command": "npx tsx apps/website/scripts/run-e2e-with-next-env-restore.ts -- npx nx run website:e2e-playwright --skip-nx-cache"
}
},
"e2e-playwright": {
"executor": "@nx/playwright:playwright",
"options": {
"config": "apps/website/playwright.config.ts"
Expand Down
48 changes: 0 additions & 48 deletions apps/website/scripts/run-e2e-with-next-env-restore.ts

This file was deleted.

Loading