Skip to content

Commit

Permalink
Fix Github Actions in webship-js #120
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaimaaNatshah committed Dec 25, 2023
1 parent e38faf4 commit 9b2485d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
runs-on: ubuntu-latest

env:
TEST_BASE_URL: http://localhost:8080
SELENIUM_HOST: http://selenium:9222/wd/hub
TEST_BASE_URL: http://localhost:8000
SELENIUM_HOST: http://selenium:4444/wd/hub

steps:
- name: Install Chrome
Expand Down
4 changes: 2 additions & 2 deletions nightwatch.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
test_settings: {
default: {
launch_url: 'http://localhost:8080',
selenium_port: 9222,
selenium_port: 4444,
selenium_host: '127.0.0.1',
silent: true,
screenshots: {
Expand Down Expand Up @@ -69,7 +69,7 @@ module.exports = {
// Selenium Server is running locally and is managed by Nightwatch
selenium: {
start_process: true,
port: 9222,
port: 4444,
server_path: (Services.seleniumServer ? Services.seleniumServer.path : ''),
cli_args: {
'webdriver.gecko.driver': (Services.geckodriver ? Services.geckodriver.path : ''),
Expand Down

0 comments on commit 9b2485d

Please sign in to comment.