Closed Bug 622227 Opened 9 years ago Closed 9 years ago

Make it easier for Test Pilot to switch index files

Categories

(Mozilla Labs Graveyard :: Test Pilot, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jono, Unassigned)

Details

(Whiteboard: needs-integration)

Attachments

(1 file)

It would be a lot nicer, for development testing and QA purposes, to be able to switch a Test Pilot profile between the public experiment channel (index.json) and the development experiment channel (index-dev.json) without having to manually delete the cached file.  To do this, add UI to the debug page that clears the cache file and sets the pref.

Done in http://hg.mozilla.org/labs/testpilot/rev/dc9daf6b5e07
Attached patch implementationSplinter Review
Attachment #500464 - Flags: review?(dtownsend)
Whiteboard: needs-integration
Comment on attachment 500464 [details] [diff] [review]
implementation

> <button onclick="showMetaData();">Show Metadata</button>
> <button onclick="runUnitTests();">Run Tests</button>
> </fieldset>
> <fieldset>
> <p><button onclick="makeThereBeAPopup();">Show Dummy Popup</button>
> <button onclick="reloadAllExperiments();">Reload All Experiments</button>
> <button onclick="remindMe();">Notify Me</button>
> <button onclick="testJarStore();">Test Jar Store</button>
>+Index file: 

I'll take this as-is but it'd probably we worth wrapping this text in a <label>

>+<select id="index-file-selector" onchange="setSelectedIndexFile();">
>+  <option value="index.json">index.json</option>
>+  <option value="index-dev.json">index-dev.json</option>
>+</select>
Attachment #500464 - Flags: review?(dtownsend) → review+
Landed in mozilla-central: http://hg.mozilla.org/mozilla-central/rev/6e25fd925731
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in before you can comment on or make changes to this bug.