Skip to content

Commit 5f8e9ba

Browse files
committed
Add delay
1 parent 028ef73 commit 5f8e9ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_widgets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ def SomeComponent():
9696
input_1 = await display.page.wait_for_selector("#i_1")
9797
input_2 = await display.page.wait_for_selector("#i_2")
9898

99-
await input_1.type("1")
99+
await input_1.type("1", delay=DEFAULT_TYPE_DELAY)
100100

101101
poll_value = poll(lambda: value.current)
102102

103103
await poll_value.until_equals(1)
104104

105105
await input_2.focus()
106-
await input_2.type("2")
106+
await input_2.type("2", delay=DEFAULT_TYPE_DELAY)
107107

108108
await poll_value.until_equals(12)
109109

0 commit comments

Comments
 (0)