puppeteer: Rename CASPER_TESTS env variable to PUPPETEER_TESTS.

Also modified few comments to match with the changes.
This commit is contained in:
Dinesh
2020-09-05 13:37:07 +00:00
committed by Steve Howell
parent f2b3afcd56
commit c64888048f
5 changed files with 12 additions and 15 deletions

View File

@@ -9,11 +9,8 @@ ZULIP_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Request the special webpack setup for frontend integration tests,
# where webpack assets are compiled up front rather than running in
# watch mode. We prefer the same for puppeteer, so the below line
# makes the webpack similar to casper.
#
# TODO: Eventually, we'll want to rename this parameter.
os.environ["CASPER_TESTS"] = "1"
# watch mode.
os.environ["PUPPETEER_TESTS"] = "1"
os.environ["CHROMIUM_EXECUTABLE"] = os.path.join(ZULIP_PATH, "node_modules/.bin/chromium")
os.environ.pop("http_proxy", "")