[Fusionforge-commits] FusionForge branch master updated. v6.1-220-gfe1e480

Franck Villaume nerville at libremir.placard.fr.eu.org
Sun Feb 3 22:26:59 CET 2019


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  fe1e48008bfb11c152cd0e4ac94d475ded7c97f2 (commit)
      from  4ac5cf4de3bf51de9238445fe04d728f59779f28 (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=fe1e48008bfb11c152cd0e4ac94d475ded7c97f2

commit fe1e48008bfb11c152cd0e4ac94d475ded7c97f2
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Feb 3 22:22:03 2019 +0100

    initial implement getValue

diff --git a/tests/func/SeleniumForge.php b/tests/func/SeleniumForge.php
index c955b05..04efa5f 100644
--- a/tests/func/SeleniumForge.php
+++ b/tests/func/SeleniumForge.php
@@ -671,6 +671,12 @@ class FForge_SeleniumTestCase extends PHPUnit_Extensions_Selenium2TestCase
 			return $this->byXPath($string)->text();
 		}
 	}
+
+	function getValue($string) {
+		if (preg_match('/^\/\/[a-z]/', $string)) {
+			return $this->byXPath($string)->attribute('value');
+		}
+	}
 }
 
 // Local Variables:

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

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


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list