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

Unable to set "delay" on UITester #2034

Open
rahulporuri opened this issue Jul 4, 2023 · 0 comments
Open

Unable to set "delay" on UITester #2034

rahulporuri opened this issue Jul 4, 2023 · 0 comments
Labels
component: test suite Issues related to testing, test support, test interactions... type: bug

Comments

@rahulporuri
Copy link
Contributor

rahulporuri commented Jul 4, 2023

We are seeing the following exception when we try to set UITester(registries=..., delay=1000)

...
  File "C:\Users\rporuri\.edm\envs\...\lib\site-packages\traitsui\testing\tester\ui_wrapper.py", line 247, in perform
    self._perform_or_inspect(interaction)
  File "C:\Users\rporuri\.edm\envs\...\lib\site-packages\traitsui\testing\tester\ui_wrapper.py", line 313, in _perform_or_inspect
    return handler(self, interaction)
  File "C:\Users\rporuri\.edm\envs\...\lib\site-packages\traitsui\testing\tester\_ui_tester_registry\qt4\_traitsui\ui_base.py", line 33, in <lambda>
    lambda wrapper, _: _interaction_helpers.mouse_click_qwidget(
  File "C:\Users\rporuri\.edm\envs\...\lib\site-packages\traitsui\testing\tester\_ui_tester_registry\qt4\_interaction_helpers.py", line 119, in mouse_click_qwidget
    QTest.qSleep(delay)
AttributeError: type object 'PySide6.QtTest.QTest' has no attribute 'qSleep'
@rahulporuri rahulporuri added type: bug component: test suite Issues related to testing, test support, test interactions... labels Jul 4, 2023
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... type: bug
Projects
None yet
Development

No branches or pull requests

1 participant