Skip to content

add use_connection hook #823

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 30, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/test_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ def SomeComponent():
input_1 = await display.page.wait_for_selector("#i_1")
input_2 = await display.page.wait_for_selector("#i_2")

await input_1.type("hello", delay=20)
await input_1.type("hello", delay=50)

assert (await input_1.evaluate("e => e.value")) == "hello"
assert (await input_2.evaluate("e => e.value")) == "hello"

await input_2.focus()
await input_2.type(" world", delay=20)
await input_2.type(" world", delay=50)

assert (await input_1.evaluate("e => e.value")) == "hello world"
assert (await input_2.evaluate("e => e.value")) == "hello world"
Expand Down