Closed
Bug 551103
Opened 15 years ago
Closed 10 years ago
Allow test-runs to set default preferences (prepare profile before first start)
Categories
(Testing Graveyard :: Mozmill, enhancement)
Testing Graveyard
Mozmill
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: whimboo, Unassigned)
References
Details
(Whiteboard: [MozMillAddonTestday])
During our testday on Friday, Sid asked how to set default preferences for a couple of Mozmill tests. After checking the code we have found out that there is no way to do that at the moment. Preferences you set are always user preferences but not default preferences.
Sid mentioned that he will fix it in the shell script which invokes the Mozmill tests for Thunderbird. We can backport it to Mozmill itself later.
Please point us to the script so we know what we have to add/update.
Comment 1•15 years ago
|
||
I implemented it as part of bug 550589. Basically all one needs to do is to create a prefs.js file inside ProfD/preferences.
Comment 2•14 years ago
|
||
Still an active bug? What is the priority here?
Updated•14 years ago
|
Severity: normal → enhancement
Reporter | ||
Comment 3•14 years ago
|
||
Still a must have for the future. Jeff, we already talked about it a couple of times.
Comment 4•13 years ago
|
||
Is there anything that should be done here now that mozprofile doesn't already achieve? Please be specific
Reporter | ||
Comment 5•13 years ago
|
||
Jeff, is there example code we can look at, so that we can see what mozprofile is capable of at the moment? Without that it's kinda hard for me to answer your question because I'm not that familiar with the code like you.
Comment 6•13 years ago
|
||
See https://github.com/mozautomation/mozmill/blob/master/mozprofile/README.md
There is various code in-tree, though looking at https://github.com/mozautomation/mozmill/blob/master/mozprofile/mozprofile/profile.py is probably just as easy to understand, or running
mozmill --help
or
mozprofile --help
Comment 7•12 years ago
|
||
So I'm moving this to a mozmill bug. ABICT, this is about mozmill test runs being able to set preferences. I have no idea what this has to do with mozprofile. If there is a feature that is requested, please ticket it and explain. I didn't know what was being requested a year ago, and I don't know now.
Component: Mozbase → Mozmill
Reporter | ||
Comment 8•10 years ago
|
||
Since a while now there are command line options for specifying additional default values for preferences. So I think that this should be enough for this bug.
Also keep in mind that Mozmill will reach its end of life soon. We are currently working on getting all the tests for Firefox ported to Marionette. For status updates please see bug 1080766.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Updated•8 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•