mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-24 10:54:04 +08:00
parent
aebd2e952e
commit
d8fe958816
@ -22,14 +22,14 @@ test("Test re-renders reattach components and listeners", async ({ page }) => {
|
||||
await expect(page.getByLabel("Box 2")).toBeEmpty();
|
||||
|
||||
await page.getByLabel("range slider for Textbox Count").fill("4");
|
||||
await page.getByLabel("Box 0").click();
|
||||
await page.getByLabel("Box 0").fill("t");
|
||||
await page.getByLabel("Box 1").click();
|
||||
await page.getByLabel("Box 1").fill("e");
|
||||
await page.getByLabel("Box 2").click();
|
||||
await page.getByLabel("Box 2").fill("s");
|
||||
await page.getByLabel("Box 3").click();
|
||||
await page.getByLabel("Box 3").fill("t");
|
||||
await page.getByLabel("Box 2").click();
|
||||
await page.getByLabel("Box 2").fill("s");
|
||||
await page.getByLabel("Box 1").click();
|
||||
await page.getByLabel("Box 1").fill("e");
|
||||
await page.getByLabel("Box 0").click();
|
||||
await page.getByLabel("Box 0").fill("t");
|
||||
await page.getByRole("button", { name: "Merge" }).click();
|
||||
|
||||
await expect(output).toHaveValue("t e s t");
|
||||
|
Loading…
Reference in New Issue
Block a user