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)

Other
Gonk (Firefox OS)
defect

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.
Attachment #8343150 - Flags: review?(zcampbell)
Attachment #8343150 - Flags: review?(florin.strugariu)
Attachment #8343150 - Flags: review?(florin.strugariu) → review+
Attachment #8343150 - Flags: review?(zcampbell) → review-
Attachment #8343150 - Flags: review- → review?
Attachment #8343150 - Flags: review? → review?(zcampbell)
Attachment #8343150 - Flags: review?(zcampbell) → review+
Changing status-b2g-v1.2 to wontfix
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.

Attachment

General

Created:
Updated:
Size: