1
0
mirror of synced 2025-12-19 18:10:59 -05:00

move search bar near version picker (#55404)

This commit is contained in:
Evan Bonsignori
2025-04-29 10:54:11 -07:00
committed by GitHub
parent a46625edc0
commit 193f0e8ea1
7 changed files with 104 additions and 41 deletions

View File

@@ -79,7 +79,7 @@ test('open new search, and perform a general search', async ({ page }) => {
window.overrideControlGroup('ai_search_experiment', 'treatment')
})
await page.getByTestId('search').click()
await page.locator('[data-testid="search"]:visible').click()
await page.getByTestId('overlay-search-input').fill('serve playwright')
// Wait for the results to load
@@ -112,7 +112,7 @@ test('open new search, and select a general search article', async ({ page }) =>
window.overrideControlGroup('ai_search_experiment', 'treatment')
})
await page.getByTestId('search').click()
await page.locator('[data-testid="search"]:visible').click()
await page.getByTestId('overlay-search-input').fill('serve playwright')
// Let new suggestions load
@@ -138,7 +138,7 @@ test('open new search, and get auto-complete results', async ({ page }) => {
window.overrideControlGroup('ai_search_experiment', 'treatment')
})
await page.getByTestId('search').click()
await page.locator('[data-testid="search"]:visible').click()
let listGroup = page.getByTestId('ai-autocomplete-suggestions')