|
|
Line 52: |
Line 52: |
|
| |
|
| You'll notice that the cookies that were created when loading FB all have the correct userContextId associated with them. | | You'll notice that the cookies that were created when loading FB all have the correct userContextId associated with them. |
|
| |
| ==== Creating a manual Test Pilot XPI ====
| |
|
| |
| Prerequisites:
| |
|
| |
| * node.js and npm installed.... Instructions can be found [https://nodejs.org/en/download/package-manager/ here].
| |
|
| |
| If there's no available XPI's for the new version of the test pilot, you'll need to create an XPI from the latest '''master''' branch using the following steps:
| |
|
| |
| * clone the latest master branch with '''git clone https://github.com/mozilla/testpilot-containers.git'''
| |
| * once cloned, move into the testpilot-containers directory via '''cd testpilot-containers/'''
| |
|
| |
| If the version number of the test pilot experiment hasn't been bummed to the next version, you'll need to manually do it via the following:
| |
|
| |
| * within the testpilot-containers directory, open '''package.json''' within a text editor
| |
| * you'll need to adjust the version number next to '''"version":'''
| |
| ** example: in this case, I would change '''"version": "2.3.0"''' into '''"version": "2.4.0"'''
| |
|
| |
| [[File:Changing version number.png|thumbnail|center]]
| |
|
| |
| Once you've changed the version number under '''package.json''', you can continue with building the XPI using the following:
| |
|
| |
| * Within the testpilot-containers directory, type in '''npm install'''
| |
| * Once '''npm install''' completes, create the XPI using '''jpm xpi'''
| |
|
| |
| You should see similar output within the terminal/console:
| |
|
| |
| kjozwiak:testpilot-containers kjozwiak$ jpm xpi
| |
| JPM [info] Starting jpm xpi on Containers Experiment
| |
| JPM [info] Successfully created XPI at /Users/kjozwiak/projects/testpilot-containers/testpilot-containers.xpi (1171ms)
| |
|
| |
|
| == Test Cases == | | == Test Cases == |