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

dogtail only works with specific accessibility settings #58

Open
maweki opened this issue May 12, 2020 · 0 comments
Open

dogtail only works with specific accessibility settings #58

maweki opened this issue May 12, 2020 · 0 comments

Comments

@maweki
Copy link
Collaborator

maweki commented May 12, 2020

According to the docs (and also via testing), dogtail needs certain accessibility settings to be run.

Currently GNOME and GTK+ applications are supported. Thanks to qt-at-spi KDE4 and QT applications are now available too.

First, enable accessibility support in your GNOME session with: gsettings set org.gnome.desktop.interface toolkit-accessibility true This only affects newly-started applications, so you may want to log out and log back in again.

If you are using KDE instead, install the 'qt-at-spi' QT plugin and make sure you QT_ACCESSIBILITY set to 1 throughout your environment (you can put 'export QT_ACCESSIBILITY=1' to your profile file). QT accessibility should be stable from QT 4.8.3 onward.

If this isn't the case, nosetests just fails silently. This also means, testing these parts is not supported on windows.

We could:

  • set/reset this stuff in the setUp and tearDown methods in those classes.
  • force it onto the users when they want to run tests.
  • create a test-runner bash-script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant