mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
1eb4c20120
* ensure kwargs are always in sync across the whole application * add changeset * fix test * update accordion test --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
15 lines
458 B
TypeScript
15 lines
458 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("Textbox").nth(0).fill("123");
|
|
|
|
await page.getByRole("button", { name: "Flip" }).click();
|
|
await expect(page.getByLabel("Textbox").nth(1)).toHaveValue("321");
|
|
|
|
await expect(page.getByText("Look at me...")).toBeVisible();
|
|
});
|