-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Testing improvements #2417
Testing improvements #2417
Conversation
1786843
to
7a6ac6a
Compare
7a6ac6a
to
799d981
Compare
with pytest.raises(TimeoutException) as err: | ||
dash_duo.wait_for_text_to_equal("#none", "None", timeout=1.0) | ||
|
||
assert err.value.args[0] == "text -> None not found within 1.0s, #none not found" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh man, I've been thinking we should have useful error messages like this for a long time, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💃
this breaks as hookwrapeprs are expectedto yield, and rightfuly so |
dash[testing]
not installed, fix pytest plugin should not be registered by default #946wait_timeout
property to customize the behavior of the default wait timeout used for by wait_for_page, fix [Feature Request] dash.testing.browser should allow custom timeout on wait_for_page() #1595_wait_for
test methods #945