Skip to content

Commit

Permalink
Fix Github Actions in webship-js
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaimaaNatshah committed Dec 28, 2023
1 parent 0e2608c commit c0451b9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
11 changes: 8 additions & 3 deletions assets/config_templates/circleci-linux-chrome.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ module.exports = {
test_settings: {
default: {
launch_url: 'http://localhost:8080/',
start_process: true,
selenium_port: 4444,
selenium_host: '127.0.0.1',
silent: true,
screenshots: {
enabled: true,
enabled: false,
path: './reports/screenshots',
},

Expand Down Expand Up @@ -75,14 +76,18 @@ module.exports = {
'webdriver.chrome.driver': (Services.chromedriver ? Services.chromedriver.path : ''),
},
},

webdriver: {
start_process: false
},
},

'selenium.chrome': {
extends: 'selenium_server',
extends: 'selenium',
desiredCapabilities: {
browserName: 'chrome',
chromeOptions: {
w3c: true,
w3c: false,
},
},
}
Expand Down
6 changes: 5 additions & 1 deletion nightwatch.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,18 @@ module.exports = {
'webdriver.chrome.driver': (Services.chromedriver ? Services.chromedriver.path : ''),
},
},

webdriver: {
start_process: false
},
},

'selenium.chrome': {
extends: 'selenium_server',
desiredCapabilities: {
browserName: 'chrome',
chromeOptions: {
w3c: true,
w3c: false,
},
},
}
Expand Down

0 comments on commit c0451b9

Please sign in to comment.