Testing improvements#2417
Merged
Merged
Conversation
T4rk1n
force-pushed
the
testing-improvments
branch
from
February 8, 2023 19:31
1786843 to
7a6ac6a
Compare
T4rk1n
force-pushed
the
testing-improvments
branch
from
February 8, 2023 19:56
7a6ac6a to
799d981
Compare
alexcjohnson
reviewed
Feb 8, 2023
| 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" |
Collaborator
There was a problem hiding this comment.
Oh man, I've been thinking we should have useful error messages like this for a long time, thanks!
alexcjohnson
reviewed
Feb 8, 2023
alexcjohnson
reviewed
Feb 9, 2023
|
this breaks as hookwrapeprs are expectedto yield, and rightfuly so |
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
dash[testing]not installed, fix pytest plugin should not be registered by default #946wait_timeoutproperty 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_fortest methods #945