#Overview
Test Pilot has a few different environments. The purpose of these is for testing different functionality.
Below are the environments for the website:
ENVIRONMENT | testpilot.env |
URL |
---|---|---|
Local | local |
https://example.com:8000/ |
Development | dev |
https://testpilot.dev.mozaws.net/ |
Stage | stage |
https://testpilot.stage.mozaws.net/ |
Production | production |
https://testpilot.firefox.com/ |
Since the website talks to the add-on, it's important that the two environments are configured the same while testing, and developing.
#How to change your add-on environment
- Go to
about:config
- Edit the preference
testpilot.env
to one of these values:
local
dev
stage
production
- Ensure you've completed the installation and development steps from
addon/README.md
- Ensure you have the Extension Auto-Installer add-on enabled.
- In a terminal go to the
groundcontrol/
directory - Run
npm install
andnpm start
- You should now see a new button on your Firefox toolbar
- Click the toolbar button and select a new icon to change the environment
- from top to bottom they are: production, stage, dev, local
That's it! Now, click the Test Pilot add-on's toolbar button and you should see experiments from that environment