Skip to content

Commit

Permalink
testing 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sayan goswami committed Aug 7, 2023
1 parent 69f76b9 commit 388c05c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/orca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ jobs:
CHROME_VERSION_STRING="114.0.5735.198-1"
wget "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION_STRING}_amd64.deb"
sudo dpkg -i "google-chrome-stable_${CHROME_VERSION_STRING}_amd64.deb"
ls -la /usr/local/share/chromium
ls -la /usr/local/share/chromium/chrome-linux
update-alternatives --config google-chrome
sudo ln -sf google-chrome-stable /usr/bin/chromium
sudo ln -sf google-chrome-stable /usr/bin/google-chrome
sudo ln -sf google-chrome-stable /usr/local/share/chromium/chrome-linux
CHROME_VERSION="$(google-chrome-stable --version)"
echo $CHROME_VERSION
CHROMIUM_VERSION="$(/usr/bin/chromium --version)"
Expand Down
3 changes: 3 additions & 0 deletions bin/ci/self-test/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ if [[ "$ORCA_ENABLE_NIGHTWATCH" == "TRUE" && "$ORCA_SUT_HAS_NIGHTWATCH_TESTS" &&
orca fixture:run-server &
SERVER_PID=$!

/usr/local/share/chromium/chrome-linux --headless --no-sandbox &
CHROME_PID=$!

# @todo could we set DRUPAL_TEST_CHROMEDRIVER_AUTOSTART instead of launching Chromedriver manually?
chromedriver --no-sandbox --disable-dev-shm-usage --disable-extensions --disable-gpu --headless --port=4444 &
CHROMEDRIVER_PID=$!
Expand Down

0 comments on commit 388c05c

Please sign in to comment.