Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: cleanup installation tests from top-level env variables (#2022)

Andrey Lushnikov062a8361c8bc
diff --git a/test/installation-tests/installation-tests.sh b/test/installation-tests/installation-tests.sh
index 9a7ef6904b..60efa11b53 100755
--- a/test/installation-tests/installation-tests.sh
+++ b/test/installation-tests/installation-tests.sh
@@ -17,6 +17,11 @@ npm pack ../../../packages/playwright-chromium
npm pack ../../../packages/playwright-webkit
npm pack ../../../packages/playwright-firefox
+# cleanup environment
+unset PLAYWRIGHT_DOWNLOAD_HOST
+unset PLAYWRIGHT_BROWSERS_PATH
+unset PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD
+
# There is no option to specify output for `npm pack`, but the format is
# fixed.
PACKAGE_VERSION=$(node -e 'console.log(require("../../../package.json").version)')