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

RESOLVED FIXED

Status

RESOLVED FIXED
5 years ago
7 months ago

People

(Reporter: jlal, Assigned: jlal)

Tracking

Details

(Assignee)

Description

5 years ago
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.
(Assignee)

Updated

5 years ago
Component: General → JSMarionette
Product: Boot2Gecko → Testing
(Assignee)

Updated

5 years ago
Assignee: nobody → jlal
(Assignee)

Updated

5 years ago
Depends on: 899339
(Assignee)

Comment 1

5 years ago
https://github.com/mozilla-b2g/marionette-js-runner/commit/f0c8ea527c32f669efc2de0b54eedc00c1fcb28c
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Updated

7 months ago
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.