File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -339,13 +339,13 @@ test.describe('Tag filtering', () => {
339339 // 2. Type a search query.
340340 const searchInput = page . getByRole ( 'searchbox' , { name : 'Search' } ) ;
341341 await searchInput . fill ( alphaName ) ;
342- await page . waitForTimeout ( 200 ) ; // debounce
342+ await page . waitForTimeout ( 400 ) ; // debounce (SEARCH_DEBOUNCE_MS is 300ms)
343343 expect ( page . url ( ) ) . toContain ( `q=${ encodeURIComponent ( alphaName ) } ` ) ;
344344
345345 // 3. Apply both filters - then click "Clear filters" from filtered empty state.
346346 // First make the search hide everything by searching for a non-existent term.
347347 await searchInput . fill ( 'zzz-no-match' ) ;
348- await page . waitForTimeout ( 200 ) ;
348+ await page . waitForTimeout ( 400 ) ; // debounce (SEARCH_DEBOUNCE_MS is 300ms)
349349 expect ( page . url ( ) ) . toContain ( 'q=zzz-no-match' ) ;
350350 expect ( page . url ( ) ) . toContain ( 'tags=alpha' ) ;
351351
You can’t perform that action at this time.
0 commit comments