Enhance jobs created by input/pointing
Bug #1420531 reported by
Sylvain Pineau
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
High
|
Sylvain Pineau | ||
Provider for Plainbox - Canonical Certification (Legacy) |
Fix Released
|
Undecided
|
Unassigned |
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.
Problem is that the job descriptions are too terse to catch driver issues where the device can become erratically unresponsive for 1-2 seconds.
1. The test should last at least 10s and ask the tester to move constantly the pointing device to confirm that the driver properly sends the right events.
2. This kind of test should be user-interact instead of just manual (i.e verification is automated). A simple QML test could be a good candidate.
Related branches
lp:~sylvain-pineau/checkbox/fix-1420531
- Sylvain Pineau (community): Approve
-
Diff: 142 lines (+108/-0)4 files modifiedproviders/plainbox-provider-certification-client/units/client-cert-14-04-3.pxu (+1/-0)
providers/plainbox-provider-certification-client/units/client-cert-14-04.pxu (+1/-0)
providers/plainbox-provider-checkbox/data/touch_continuous_move_test.qml (+93/-0)
providers/plainbox-provider-checkbox/jobs/touchpad.txt.in (+13/-0)
Changed in plainbox-provider-checkbox: | |
assignee: | nobody → Sylvain Pineau (sylvain-pineau) |
status: | Triaged → In Progress |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-canonical-certification: | |
status: | New → Fix Committed |
milestone: | none → 0.17.1 |
Changed in plainbox-provider-checkbox: | |
milestone: | none → 0.21.2 |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
Changed in plainbox-provider-canonical-certification: | |
status: | Fix Committed → Fix Released |
tags: | added: ce-qa-concern |
To post a comment you must log in.
The following QML file should confirm that the mouse cursor has constantly moved for 10s:
import QtQuick 2.0
import Ubuntu.Components 0.1
Rectangle {
width: 500
height: 500
MouseArea {
anchors. fill: parent
anchors. margins: 30
onPositionChan ged: {
timer2. restart( );
hoverEnabled: true
if (timer2.running) {
}
}
}
Button {
anchors. centerIn: parent
timer3. running = true
id: control
text: "START"
onClicked: {
text = "MOVE YOUR MOUSE"
}
}
Timer {
onTriggered: {
running = false
console. log("PASS" )
Qt.quit( )
id: timer1
interval: 1000
running: true
repeat: true
property int timeout: 8
timeout = timeout - 1
if (timeout <= 0) {
}
}
}
Timer {
onTriggered: {
console. log("FAIL !!!!")
Qt. quit()
id: timer2
interval: 200
running: false
repeat: true
running = false
}
}
Timer {
onTriggered: {
timer2. running = true
id: timer3
interval: 2000
running: false
}
}
}