Skip to content
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

UI not closed at the end of tests #817

Closed
ievacerny opened this issue May 12, 2020 · 0 comments · Fixed by #865
Closed

UI not closed at the end of tests #817

ievacerny opened this issue May 12, 2020 · 0 comments · Fixed by #865
Assignees
Labels
component: test suite Issues related to testing, test support, test interactions...

Comments

@ievacerny
Copy link
Contributor

Stems from a comment on a PR: #809 (comment)

There are lost of tests that don't close UI when they're done, which could lead to test interactions. It would be good to go through all the tests and fix this issue.

Example of such test:

@skip_if_not_qt4
def test_qt_no_labels_on_the_right_bug():
# Bug: If one set show_left=False, show_label=False on a non-resizable
# item like a checkbox, the Qt backend tried to set the label's size
# policy and failed because label=None.
with store_exceptions_on_all_threads():
dialog = NoLabelResizeTestDialog()
ui = dialog.edit_traits()

@kitchoi kitchoi added the component: test suite Issues related to testing, test support, test interactions... label Jun 2, 2020
@kitchoi kitchoi self-assigned this Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: test suite Issues related to testing, test support, test interactions...
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants