fixed firefox support

This commit is contained in:
Wyatt Johnson
2018-02-27 21:34:45 -07:00
parent 4c5adc26cf
commit 35bfec6da6
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -25,5 +25,5 @@ if [[ "$BROWSERSTACK" == "true" && -n "$BROWSERSTACK_KEY" ]]; then
else
# When browserstack is not available test locally using chrome headless.
echo Testing locally
node scripts/e2e.js --reports-folder "$REPORTS_FOLDER" --retries "$E2E_MAX_RETRIES" --timeout "$E2E_WAIT_FOR_TIMEOUT" --browsers "$E2E_BROWSERS"
node scripts/e2e.js --reports-folder "$REPORTS_FOLDER" --retries "$E2E_MAX_RETRIES" --timeout "$E2E_WAIT_FOR_TIMEOUT" --browsers "$E2E_BROWSERS" --headless
fi
+7
View File
@@ -49,5 +49,12 @@ module.exports = {
},
},
},
'firefox-headless': {
desiredCapabilities: {
chromeOptions: {
args: ['--headless', '--disable-gpu', 'window-size=1600,1200'],
},
},
},
},
};