File size: 290 Bytes
a03b3ba
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import { test, expect } from "@gradio/tootils";

test("a component acts as both input and output", async ({ page }) => {
	const textbox = await page.getByLabel("Input-Output");

	await textbox.fill("test");
	await page.click("button");
	await expect(await textbox).toHaveValue("tset");
});