Skip to content

Commit e5a5f83

Browse files
committed
! try to get some failure output
1 parent 5c8f3df commit e5a5f83

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/setup-selenium.sh

+4-5
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,12 @@ echo "Installing Browser"
3333
# Available Chrome Versions
3434
# https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable?id=202706
3535
#
36-
CHROME_VERSION='112.0.5615.49-1' #'110.0.5481.100-1' # '91.0.4472.114-1'
37-
38-
wget https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb
39-
sudo dpkg -i google-chrome-stable_${CHROME_VERSION}_amd64.deb
36+
CHROME_VERSION='113.0.5672.63-1' #'110.0.5481.100-1' # '91.0.4472.114-1'
37+
wget -v -O /tmp/chrome.deb https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb
38+
sudo dpkg -i /tmp/chrome.deb
4039

4140
# Download Chrome Driver
42-
echo "Downloading chromedriver"
41+
echo "Downloading Browser Driver"
4342
CHROME_VERSION=$(google-chrome --version | cut -f 3 -d ' ' | cut -d '.' -f 1) \
4443
&& CHROMEDRIVER_RELEASE=$(curl --location --fail --retry 3 https://chromedriver.storage.googleapis.com/LATEST_RELEASE_${CHROME_VERSION}) \
4544
&& wget -nv -O "$CHROMEDRIVER_ZIP" "https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_RELEASE/chromedriver_linux64.zip" \

sources/Subs.php

+6
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,9 @@ function redirectexit($setLocation = '')
585585
{
586586
global $db_show_debug;
587587

588+
// Note to developers. The testbed will add the following, allowing phpunit test returns
589+
//if (defined("PHPUNITBOOTSTRAP") && defined("STDIN")){return $setLocation;}
590+
588591
// Send headers, call integration, do maintance
589592
Headers::instance()
590593
->removeHeader('all')
@@ -691,6 +694,9 @@ function obExit($header = null, $do_footer = null, $from_index = false, $from_fa
691694
// Hand off the output to the portal, etc. we're integrated with.
692695
call_integration_hook('integrate_exit', [$do_footer]);
693696

697+
// Note to developers. The testbed will add the following, allowing phpunit test returns
698+
//if (defined("PHPUNITBOOTSTRAP") && defined("STDIN")){return;}
699+
694700
// Don't exit if we're coming from index.php; that will pass through normally.
695701
if (!$from_index)
696702
{

0 commit comments

Comments
 (0)