Skip to content

Commit 82f510c

Browse files
committed
Stabilize command search test
1 parent 29454ed commit 82f510c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/e2e/viewer.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,10 +587,10 @@ test("keeps command search central and keyboard accessible", async ({ page }) =>
587587
await expect(page.getByRole("option", { name: /Bond display/ }))
588588
.toContainText("View › Layers › Bonds");
589589
await page.keyboard.press("Enter");
590-
await expect(page.getByRole("tab", { name: "View" }))
591-
.toHaveAttribute("aria-selected", "true");
592590
await expect(page.locator('[data-setting-id="view-bonds"]'))
593591
.toHaveClass(/is-search-target/);
592+
await expect(page.getByRole("tab", { name: "View" }))
593+
.toHaveAttribute("aria-selected", "true");
594594
await page.locator("#workbench").getByRole("button", {
595595
name: "Close",
596596
exact: true,

0 commit comments

Comments
 (0)