-
Notifications
You must be signed in to change notification settings - Fork 95
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
Add 'IsVisible` query class for UI Tester #1552
Conversation
#1551 has returned! this time with full traceback
|
It looks like #1553 may have been successful, no longer seeing 1551 failure |
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.
LGTM
traitsui/testing/tester/_ui_tester_registry/qt4/_control_widget_registry.py
Outdated
Show resolved
Hide resolved
traitsui/testing/tester/_ui_tester_registry/qt4/_control_widget_registry.py
Outdated
Show resolved
Hide resolved
traitsui/testing/tester/_ui_tester_registry/wx/tests/test_control_widget_registry.py
Show resolved
Hide resolved
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.
LGTM
Co-authored-by: Poruri Sai Rahul <rporuri@enthought.com>
…/traitsui into UITester-add-IsVisible
Looks like another occurrence of #1551
|
closes #1291
Now that #1490 has been merged this process was quite simple :)
This PR makes it so that now any UIWrapper object wrapping a target with a control that is either a QtWidget or wx.Window can now support an
IsVisible
query. A comparable thing was done forIsEnabled
in 1490.This PR also updates the relevant tests for
_control_widget_registry
and adds a test for thevisible_when.py
demo.