This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 6.1 has been updated
       via  8347a4dc7b7f41f43095992d3c92daf33412b102 (commit)
      from  a12a31742c86f3adc3582150412fb05e9e3b4c78 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=8347a4dc7b7f41f43095992d3c92daf33412b102

commit 8347a4dc7b7f41f43095992d3c92daf33412b102
Author: Roland Mas <[email protected]>
Date:   Wed Dec 9 17:44:03 2020 +0100

    Try fixing testsuite

diff --git a/tests/func/SeleniumForge.php b/tests/func/SeleniumForge.php
index 01f3dc3..a7ec2b0 100644
--- a/tests/func/SeleniumForge.php
+++ b/tests/func/SeleniumForge.php
@@ -101,13 +101,8 @@ abstract class FForge_SeleniumTestCase extends 
PHPUnit\Extensions\Selenium2TestC
        }
 
        protected function configureSelenium() {
-               if (getenv('SELENIUM_RC_DIR') && getenv('SELENIUM_RC_URL')) {
-                       $this->captureScreenshotOnFailure = true;
-                       $this->screenshotPath = getenv('SELENIUM_RC_DIR');
-                       $this->screenshotUrl = getenv('SELENIUM_RC_URL');
-
+               if (getenv('SELENIUM_RC_DIR')) {
                        $this->listener = new 
ScreenshotListener(getenv('SELENIUM_RC_DIR'));
-
                }
 
                $this->setBrowser('firefox');
@@ -115,11 +110,7 @@ abstract class FForge_SeleniumTestCase extends 
PHPUnit\Extensions\Selenium2TestC
                $this->setDesiredCapabilities($capabilities);
                $this->setBrowserUrl(URL);
                $this->setHost(SELENIUM_RC_HOST);
-
-               // Use a sensible default background (instead of Selenium's 
criminal default to black)
-               // (future-proof - 
https://github.com/giorgiosironi/phpunit-selenium/commit/07e50f74f3782ce8781527653e6c79aeefd94ada)
-               $this->screenshotBgColor = '#CCFFDD';
-                         }
+       }
 
        public function onNotSuccessfulTest(Throwable $e): void {
         $this->listener->addError($this, $e, microtime(true));

-----------------------------------------------------------------------

Summary of changes:
 tests/func/SeleniumForge.php | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to