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

feat: Mouse support #2

Open
popey opened this issue May 13, 2024 · 0 comments
Open

feat: Mouse support #2

popey opened this issue May 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@popey
Copy link
Contributor

popey commented May 13, 2024

What would you like to be added:

The ability to insert mouse location and button presses into the virtual machine.

Why is this needed:

So that tests don't have to rely on a specific number of tab-key presses or up-up-up, down-down-down type navigation in the UI.

Additional context:

Open questions remain about how to keep things tracked on screen within tests. Currently, we're only doing OCR of text. Do we OCR the text of a button, and already know where this is on screen? In the case of the installer, where things move around in frequently, this isn't too much of a problem. But for application testing where buttons could be anywhere, things are a little harder.

A sample test should be supplied that uses the mouse support.

This could be as simple as booting an Ubuntu VM, clicking the top right, and using the shutdown navigation to turn the VM off.

@popey popey added the enhancement New feature or request label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant