Open
Bug 1975250
Opened 6 months ago
Updated 6 months ago
Allow profile path to be passed into the Marionette client
Categories
(Testing :: Marionette Client and Harness, enhancement, P3)
Testing
Marionette Client and Harness
Tracking
(Not tracked)
NEW
People
(Reporter: jhirsch, Assigned: jhirsch)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:backlog])
Splitting this off from the work in bug 1960964. Plans for the bug from the review feedback in D254322[1]:
- Pass
profileinto the Marionette client as a string with the path to the profile on disk. - Now when we pass the profile path via instance_args to GeckoInstance.init() it assigns it directly to self._profile. This looks wrong and I think we need to change that to actually use the profile setter, which can handle an instance of mozprofile or a path string, and then correctly sets the self._profile to an instance of the mozprofile class.
- it would be good to have a unit test for Marionette which creates a new Marionette client by specifying the profile to a temporary location. See the test test_profile_management.py for adding a test.
[1] https://phabricator.services.mozilla.com/D254322#inline-1404581
| Assignee | ||
Updated•6 months ago
|
Assignee: nobody → jhirsch
Updated•6 months ago
|
Priority: -- → P3
Whiteboard: [webdriver:backlog]
Comment 1•6 months ago
|
||
Hi Jared, have you had a chance to already extract the Marionette client specific pieces from your patch on bug 1960964?
You need to log in
before you can comment on or make changes to this bug.
Description
•