mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-12 10:34:32 +08:00
4dc9ffbf70
* store open as writeable val * add changeset * add e2e test * formatting --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
10 lines
338 B
TypeScript
10 lines
338 B
TypeScript
import { test, expect } from "@gradio/tootils";
|
|
|
|
test("accordion stays open when interacting with the slider", async ({
|
|
page
|
|
}) => {
|
|
await page.getByRole("button", { name: "Open for More! ▼" }).click();
|
|
await page.getByLabel("range slider for Slide me").fill("0.5");
|
|
await expect(page.getByText("Look at me...")).toBeVisible();
|
|
});
|