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)

enhancement

Tracking

(Not tracked)

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]:

  1. Pass profile into the Marionette client as a string with the path to the profile on disk.
  2. 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.
  3. 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: nobody → jhirsch
Priority: -- → P3
Whiteboard: [webdriver:backlog]

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.