@@ -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
2622const 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