Closed Bug 898018 Opened 11 years ago Closed 11 years ago

[marionette-js-runner] Expose methods to create multiple hosts

Categories

(Testing Graveyard :: JSMarionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlal, Assigned: jlal)

References

Details

This is a lower priority thing but in theory we can spawn multiple hosts (and clients) in our tests. I am not sure how this is useful for gaia testing right no but it is a fairly small amount of work.

Part 1 is to expose the API:


marionette('test', function() {
  createClient('otherUser');

  test('with otherUser', function() {
    this.otherUser.goUrl('....');
  });

});

Part 2: would be to add some option in the host to define if they can actually spawn multiple processes. firefox, emulators, b2g-desktop can but phones obviously cannot.
Component: General → JSMarionette
Product: Boot2Gecko → Testing
Assignee: nobody → jlal
Depends on: 899339
https://github.com/mozilla-b2g/marionette-js-runner/commit/f0c8ea527c32f669efc2de0b54eedc00c1fcb28c
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.