[web] Design re-check: the engine chip closes its popover, Show details on every pause, popover grammar, share links off while Caddy serves, renewal copy
This commit is contained in:
@@ -200,6 +200,16 @@ describe("focus", () => {
|
||||
await waitFor(() => expect(screen.queryByRole("button", { name: "Switch to Caddy" })).toBeNull());
|
||||
expect(document.activeElement).toBe(screen.getByRole("button", { name: /^Engine: Pingora/ }));
|
||||
});
|
||||
|
||||
it("a click on the engine chip while its popover is open closes it", async () => {
|
||||
start();
|
||||
const chip = await screen.findByRole("button", { name: /^Engine: Pingora/ });
|
||||
await click(chip);
|
||||
await screen.findByRole("button", { name: "Switch to Caddy" });
|
||||
await new Promise((r) => setTimeout(r, 10));
|
||||
await click(chip);
|
||||
await waitFor(() => expect(screen.queryByRole("button", { name: "Switch to Caddy" })).toBeNull());
|
||||
});
|
||||
});
|
||||
|
||||
describe("sign-in and contact", () => {
|
||||
|
||||
Reference in New Issue
Block a user