Closed
Bug 995466
Opened 10 years ago
Closed 10 years ago
semi-auto harness should unlock the lock screen
Categories
(Firefox OS Graveyard :: Certification Suite, defect)
Firefox OS Graveyard
Certification Suite
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgriffin, Assigned: ato)
References
Details
The lock screen sometimes interrupts or interferes with the semi-auto tests; I think we should have the harness disable the lock screen before running a test.
Assignee | ||
Comment 1•10 years ago
|
||
requestWakeLock might be of use here: https://developer.mozilla.org/en-US/docs/Web/API/Navigator.requestWakeLock
Assignee | ||
Comment 2•10 years ago
|
||
Correction, requestWakeLock makes the screen never dim or switch off. LockScreen.unlock can be used to unlock the device. That's available off the window.wrappedJSObject.
Assignee | ||
Comment 3•10 years ago
|
||
And for actually turning on the screen we can use ScreenManager.turnScreenOn, also available from wrappedJSObject. It would seem combining the three of these is what we want.
Assignee | ||
Updated•10 years ago
|
Summary: semi-auto harness should disable the lock screen → semi-auto harness should unlock the lock screen
Assignee | ||
Comment 4•10 years ago
|
||
Code review: https://critic.hoppipolla.co.uk/r/1354
Assignee: nobody → ato
Status: NEW → ASSIGNED
Comment 5•10 years ago
|
||
Screen unlock and screen wakeup work great, so merged so we can get it into this week's sprint: https://github.com/mozilla-b2g/fxos-certsuite/commit/4fbc1b519dc1987fe40f5178a51905172073ea4f However disabling dimming doesn't work, so filed bug 1001065 for that.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•