Skip to content

Commit 0299d36

Browse files
committed
fix: remove orama tests
1 parent 17b9e26 commit 0299d36

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

apps/site/tests/e2e/general-behavior.spec.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ const locators = {
1717
light: englishLocale.components.common.themeToggle.light,
1818
dark: englishLocale.components.common.themeToggle.dark,
1919
},
20-
// Search components (from Orama library)
21-
searchButtonTag: '[data-testid="orama-button"]',
22-
searchInputTag: '[data-testid="orama-input"]',
23-
searchResultsTag: '[data-testid="orama-search-results"]',
2420
};
2521

2622
const getTheme = (page: Page) =>
@@ -129,24 +125,6 @@ test.describe('Node.js Website', () => {
129125
});
130126
});
131127

132-
test.describe('Search', () => {
133-
test('should show and operate search functionality', async ({ page }) => {
134-
// Open search dialog
135-
const searchButton = page.locator(locators.searchButtonTag);
136-
await expect(searchButton).toBeVisible();
137-
await page.locator(locators.searchButtonTag).click();
138-
139-
// Verify search input is visible and enter a search term
140-
const searchInput = page.locator(locators.searchInputTag);
141-
await expect(searchInput).toBeVisible();
142-
await searchInput.pressSequentially('express');
143-
144-
// Verify search results appear
145-
const searchResults = page.locator(locators.searchResultsTag);
146-
await expect(searchResults).toBeVisible();
147-
});
148-
});
149-
150128
test.describe('Navigation', () => {
151129
test('should have functioning mobile menu on small screens', async ({
152130
page,

0 commit comments

Comments
 (0)