19 lines
541 B
Bash
Executable File
19 lines
541 B
Bash
Executable File
#!/bin/bash
|
|
echo ""
|
|
echo "Test webextension-polyfill on real browsers"
|
|
echo "==========================================="
|
|
|
|
export PATH=$PATH:./node_modules/.bin/
|
|
|
|
## HEADLESS=1 Enable the headless mode (currently used only on Firefox
|
|
## because Chrome doesn't currently support the extensions in headless mode)
|
|
export HEADLESS=1
|
|
|
|
echo ""
|
|
echo "Run smoketests on Chrome"
|
|
TEST_BROWSER_TYPE=chrome npm run test-integration | tap-nirvana
|
|
|
|
echo ""
|
|
echo "Run smoketests on Firefox"
|
|
TEST_BROWSER_TYPE=firefox npm run test-integration | tap-nirvana
|