Skip to content

Commit

Permalink
port changed for self-test
Browse files Browse the repository at this point in the history
  • Loading branch information
mayur-sose committed Dec 31, 2024
1 parent f8be7d3 commit c816023
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/ci/_includes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export DRUPAL_TEST_CHROMEDRIVER_AUTOSTART="false"
export DRUPAL_TEST_DB_URL="sqlite://localhost/sites/default/files/db.sqlite"
export DRUPAL_TEST_WEBDRIVER_CHROME_ARGS="--disable-gpu --headless --no-sandbox"
export DRUPAL_TEST_WEBDRIVER_HOSTNAME="localhost"
export DRUPAL_TEST_WEBDRIVER_PORT="9898"
export DRUPAL_TEST_WEBDRIVER_PORT="4444"
export DRUPAL_NIGHTWATCH_SEARCH_DIRECTORY=../../

if [[ "$GITLAB_CI" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion bin/ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [[ "$ORCA_ENABLE_NIGHTWATCH" == "TRUE" && "$ORCA_SUT_HAS_NIGHTWATCH_TESTS" &&
echo "ChromeDriver initialized via separate container..."
else
# @todo could we set DRUPAL_TEST_CHROMEDRIVER_AUTOSTART instead of launching Chromedriver manually?
chromedriver --disable-dev-shm-usage --disable-extensions --disable-gpu --headless --no-sandbox --port=9898 &
chromedriver --disable-dev-shm-usage --disable-extensions --disable-gpu --headless --no-sandbox --port=4444 &
CHROMEDRIVER_PID=$!
fi

Expand Down

0 comments on commit c816023

Please sign in to comment.