mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-17 11:29:58 +08:00
Number example fix (#7294)
* fix * add changeset * fix flaky functional test --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
87eedf4e70
commit
d7095c4699
6
.changeset/ten-bananas-fall.md
Normal file
6
.changeset/ten-bananas-fall.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"@gradio/number": patch
|
||||
"gradio": patch
|
||||
---
|
||||
|
||||
fix:Number example fix
|
@ -6,7 +6,7 @@ test("On listener works.", async ({ page }) => {
|
||||
const trigger1_box = await page.locator("textarea").nth(2);
|
||||
const trigger2_box = await page.locator("textarea").nth(3);
|
||||
|
||||
name_box.fill("Jimmy");
|
||||
await name_box.fill("Jimmy");
|
||||
await page.click("text=Greet");
|
||||
await expect(output_box).toHaveValue("Hello Jimmy!");
|
||||
await expect(trigger1_box).toHaveValue("Button");
|
||||
|
@ -9,7 +9,7 @@
|
||||
class:gallery={type === "gallery"}
|
||||
class:selected
|
||||
>
|
||||
{value ? value : ""}
|
||||
{value !== null ? value : ""}
|
||||
</div>
|
||||
|
||||
<style>
|
||||
|
Loading…
Reference in New Issue
Block a user