mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 08:03:19 +00:00
test(search): open the action search from the toolbar (#5386)
The action-search test could time out before reaching its first search assertion when the runner delayed the second Shift press. Open Search Everywhere through the title-bar button for this test, then enter a query and run the matching action. The adjacent shortcut test exercises double Shift directly. Co-authored-by: faysou <893862+faysou@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ test("double Shift opens Search Everywhere with its tabs; Escape closes it", asy
|
||||
});
|
||||
|
||||
test("Search Everywhere finds and runs an action", async ({ workbench: page }) => {
|
||||
await doubleShift(page);
|
||||
await page.locator("header").getByRole("button", { name: "Search Everywhere", exact: true }).click();
|
||||
const dialog = page.getByRole("dialog", { name: "Search Everywhere" });
|
||||
await dialog.getByRole("combobox").fill("Language Servers");
|
||||
const option = dialog.getByRole("option", { name: /Language Servers/ }).first();
|
||||
|
||||
Reference in New Issue
Block a user