Input tests should be expanded to include a clicking test

Bug #1229631 reported by Ara Pulido
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Po-Hsu Lin

Bug Description

We currently have a local job called input/pointing

It takes the output of xinput to find pointing devices and creates pointing jobs for each of them.

We should have a second one (maybe called input/clicking) that uses the same output and creates tests that explicitly ask to test left, right and middle click (if available) for each of those.

Tags: job

Related branches

Daniel Manrique (roadmr)
tags: added: job
Revision history for this message
Daniel Manrique (roadmr) wrote :

The existing test resides in checkbox-old/jobs/input.txt.in. A simple version would just replicate this and replace "pointing" with "clicking", while asking the user to click on buttons and ensure an action results.

Bonus points for a test that updates touchpad_test to support specifying buttons. Currently you can specify scroll directions:

touchpad_test left right
touchpad_test up down

I'm thinking of a modification to allow things like this:

touchpad_test button_left button_middle button_right

the script uses Gtk/Gdk, so a bit of research on how to use these toolkits to capture mouse clicks will be needed.

But for the bug to be solved, a basic manual test would be enough.

Changed in checkbox:
status: New → Triaged
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Thanks! I'll take a look!

Zygmunt Krynicki (zyga)
affects: checkbox → plainbox-provider-checkbox
Po-Hsu Lin (cypressyew)
Changed in plainbox-provider-checkbox:
status: Triaged → In Progress
Po-Hsu Lin (cypressyew)
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Zygmunt Krynicki (zyga)
Changed in plainbox-provider-checkbox:
milestone: none → 0.5
Daniel Manrique (roadmr)
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.