Skip to content

Commit

Permalink
add chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
Raksha-Bharuka committed Sep 23, 2024
1 parent 0b06004 commit 099efc2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions bin/ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ if [[ "$ORCA_ENABLE_NIGHTWATCH" == "TRUE" && "$ORCA_SUT_HAS_NIGHTWATCH_TESTS" &&
orca fixture:run-server &
SERVER_PID=$!

if [[ "$GITLAB_CI" ]]; then
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=4444 &
CHROMEDRIVER_PID=$!
fi
# if [[ "$GITLAB_CI" ]]; then
# 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=4444 &
# CHROMEDRIVER_PID=$!
# fi

eval "yarn test:nightwatch \\
--headless \\
Expand Down

0 comments on commit 099efc2

Please sign in to comment.