Closed
Bug 946666
Opened 12 years ago
Closed 12 years ago
Write a test for wakelock
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect, P4)
Tracking
(b2g-v1.2 wontfix)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
b2g-v1.2 | --- | wontfix |
People
(Reporter: zcampbell, Assigned: viorela)
Details
Attachments
(1 file)
Pre-assigning Viorela because she has effectively written this test already!
Test case is to check the wake up the phone with a notification.
1. Lock the screen
2. Turn off the screen
3. Assert screen is off
4. Send a notification:
self.marionette.execute_script('navigator.mozNotification.createNotification("%s", "%s").show();'
5. Wait for the screen to unlock and the notification to appear on the lockscreen.
I think if this test runs on desktopb2g OK then we can make `test_lockscreen_notification.py` obsolete.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #8343150 -
Flags: review?(zcampbell)
Attachment #8343150 -
Flags: review?(florin.strugariu)
Updated•12 years ago
|
Attachment #8343150 -
Flags: review?(florin.strugariu) → review+
Updated•12 years ago
|
status-b2g-v1.2:
--- → affected
![]() |
Reporter | |
Comment 2•12 years ago
|
||
Comment on attachment 8343150 [details] [review]
Github PR: https://github.com/mozilla-b2g/gaia/pull/14418
r- some tweaks
Attachment #8343150 -
Flags: review?(zcampbell) → review-
Assignee | ||
Updated•12 years ago
|
Attachment #8343150 -
Flags: review- → review?
Updated•12 years ago
|
Attachment #8343150 -
Flags: review? → review?(zcampbell)
Comment 3•12 years ago
|
||
Comment on attachment 8343150 [details] [review]
Github PR: https://github.com/mozilla-b2g/gaia/pull/14418
r+
Attachment #8343150 -
Flags: review+
![]() |
Reporter | |
Comment 4•12 years ago
|
||
Comment on attachment 8343150 [details] [review]
Github PR: https://github.com/mozilla-b2g/gaia/pull/14418
r+
Attachment #8343150 -
Flags: review?(zcampbell) → review+
![]() |
Reporter | |
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Changing status-b2g-v1.2 to wontfix
![]() |
Reporter | |
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•