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)

defect
Not set
normal

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.
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.
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.
Summary: semi-auto harness should disable the lock screen → semi-auto harness should unlock the lock screen
Code review: https://critic.hoppipolla.co.uk/r/1354
Assignee: nobody → ato
Status: NEW → ASSIGNED
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.