mirror of
https://github.com/wassname/talk.git
synced 2026-07-29 11:28:24 +08:00
applied fix to allow local run with firefox
This commit is contained in:
+12
-2
@@ -26,7 +26,6 @@ module.exports = {
|
||||
selenium_host: 'localhost',
|
||||
silent: true,
|
||||
desiredCapabilities: {
|
||||
browserName: 'chrome',
|
||||
javascriptEnabled: true,
|
||||
acceptSslCerts: true,
|
||||
webStorageEnabled: true,
|
||||
@@ -41,16 +40,27 @@ module.exports = {
|
||||
path: process.env.REPORTS_FOLDER || './test/e2e/reports',
|
||||
},
|
||||
},
|
||||
chrome: {},
|
||||
chrome: {
|
||||
desiredCapabilities: {
|
||||
browserName: 'chrome',
|
||||
},
|
||||
},
|
||||
'chrome-headless': {
|
||||
desiredCapabilities: {
|
||||
browserName: 'chrome',
|
||||
chromeOptions: {
|
||||
args: ['--headless', '--disable-gpu', 'window-size=1600,1200'],
|
||||
},
|
||||
},
|
||||
},
|
||||
firefox: {
|
||||
desiredCapabilities: {
|
||||
browserName: 'firefox',
|
||||
},
|
||||
},
|
||||
'firefox-headless': {
|
||||
desiredCapabilities: {
|
||||
browserName: 'firefox',
|
||||
'moz:firefoxOptions': {
|
||||
args: ['-headless'],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user