mirror of
https://github.com/wassname/talk.git
synced 2026-07-09 06:40:07 +08:00
fixed firefox support
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -49,5 +49,12 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
},
|
||||
'firefox-headless': {
|
||||
desiredCapabilities: {
|
||||
chromeOptions: {
|
||||
args: ['--headless', '--disable-gpu', 'window-size=1600,1200'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user