Closed Bug 898022 Opened 12 years ago Closed 12 years ago

[marionette-js-runner] Define an api to allow plugins to be used (before sessionStart)

Categories

(Testing Graveyard :: JSMarionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlal, Assigned: jlal)

References

Details

Attachments

(1 file)

Right now we launch the default client (this.client) and call sessionStart. This prevents us from using plugins that rely on sessionStart (marionette-apps) in our tests... Ideally we should have some hook or api that allow us to write bootstrap code and single one off plugins in tests.. Theories: marionette('test', function() { // expose a top level object for extending marionette? marionette.plugin(); // could also use for hosts? marionette.host(); });
Component: General → JSMarionette
Product: Boot2Gecko → Testing
Assignee: nobody → jlal
Attachment #782830 - Flags: review?(mike)
Attachment #782830 - Flags: review?(gaye)
Attachment #782830 - Flags: review?(gaye) → review+
Landed 17209123501d59f4dc9c01f2b3543659e65a4ab6
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Attachment #782830 - Flags: review?(mike)
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: