Closed Bug 1173502 Opened 9 years ago Closed 9 years ago

Marionette has no option to pass options like --pref to MozProfile

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(firefox45 fixed)

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: dev, Assigned: parkouss)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.0.1
Build ID: 20150526223604

Steps to reproduce:

I want to write and run unit tests for an extension, using Marionette.
I've got tests written for Mozmill, which I want to migrate to Marionette.


Actual results:

Mozmill has CLI options like `--pref` and `--addon`. They are passed to MozProfile.
Marionette does not have such CLI options.


Expected results:

It would help a lot if Marionette had a possibility to pass options to MozProfile.
--addon is already there, but --pref/--preferences are missing.
Assignee: nobody → j.parkouss
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Bug 1173502 - add cmdline options to set prefs (same as in mozprofile). r=dburns
Attachment #8682048 - Flags: review?(dburns)
Seems to work well locally - adapted from mozregression, https://github.com/mozilla/mozregression/blob/master/mozregression/cli.py#L300.
Attachment #8682048 - Flags: review?(dburns) → review+
Comment on attachment 8682048 [details]
MozReview Request: Bug 1173502 - add cmdline options to set prefs (same as in mozprofile). r=dburns

https://reviewboard.mozilla.org/r/23959/#review21411
Try is green, should be good to land.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/69c98520b770
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
removing the b2g 2.5 flag since this commit has been reverted due to an incorrect merge, sorry for the confusion
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: