Closed Bug 1100684 Opened 10 years ago Closed 6 years ago

Allow restarting b2g process in b2g-desktop during Marionette JS test

Categories

(Testing Graveyard :: JSMarionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: mikehenrty, Unassigned)

Details

We need to be able to test that notifications get resent on reboot, which would entail creating a profile, sending some notifications, rebooting b2g, and then waiting for the notifications to show up in the tray. Currently we work around the lack of support for rebooting b2g by simply removing the notification DOM nodes, and then triggering a resend manually from chrome. However bug 1088224 makes this more difficult now since we no longer want to resend notifications if the system app already did that for us. This change makes our current tests fail, since we do precisely that in the tests. We are probably going to work around this by disabling the new resend protection with a pref, which we will set manually in integration tests. But having the ability to restart b2g in Marionette JS tests explicitly would help us test the resend code path more realistically.
bug 1034486 is for device adb access. I'm assuming that whatever method used to reboot b2g in desktop b2g should also work for device. We may need bug 1034486, but it depends on how we implement this. Removing the dependency for now...
No longer depends on: 1034486
Bulk closed as part of https://bugzilla.mozilla.org/show_bug.cgi?id=1422750
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.