Say what the browser gives a popover trigger, and pin the part all engines can prove
This commit was merged in pull request #94.
This commit is contained in:
@@ -94,6 +94,7 @@ test("a popover menu sits on its trigger and closes on an outside click or Esc
|
||||
await expect(panel).toBeVisible();
|
||||
await page.keyboard.press("Escape");
|
||||
await expect(panel).toBeHidden();
|
||||
await expect(trigger).toBeFocused(); // the browser returns focus, so no trigger needs a tabindex
|
||||
});
|
||||
|
||||
test("mobile layout hides the sidebar off-canvas behind the hamburger", async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user