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, master has been updated
       via  b565cca63906845eb9db955f4ea2eec2b5921f90 (commit)
      from  72ecc64f2445e9b59cf21e5098df7f036cc76881 (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=b565cca63906845eb9db955f4ea2eec2b5921f90

commit b565cca63906845eb9db955f4ea2eec2b5921f90
Author: Franck Villaume <franck.villa...@trivialdev.com>
Date:   Fri Mar 29 00:51:57 2019 +0100

    implement missing assertElementPresent

diff --git a/tests/func/SeleniumForge.php b/tests/func/SeleniumForge.php
index 9e2c13c..185d549 100644
--- a/tests/func/SeleniumForge.php
+++ b/tests/func/SeleniumForge.php
@@ -701,6 +701,16 @@ class FForge_SeleniumTestCase extends 
PHPUnit_Extensions_Selenium2TestCase
                }
                $this->frame($myelement);
        }
+
+       function assertElementPresent($string) {
+               try {
+                       if (preg_match('/^\/\/[a-z]/', $string)) {
+                               $myelement = $this->byXPath($string);
+                               return true;
+                       }
+               } catch(Exception $e) {}
+               return false;
+       }
 }
 
 // Local Variables:

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

Summary of changes:
 tests/func/SeleniumForge.php | 10 ++++++++++
 1 file changed, 10 insertions(+)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
Fusionforge-commits@lists.fusionforge.org
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to