[Fusionforge-commits] FusionForge branch master updated. v6.1-185-gf835f2f

Franck Villaume nerville at libremir.placard.fr.eu.org
Thu Jan 17 11:29:31 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  f835f2fa5d66178f7fe3c15c1e0cda586cc69169 (commit)
      from  ae2897697a407d85322854415609900a1440c512 (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 -----------------------------------------------------------------

commit f835f2fa5d66178f7fe3c15c1e0cda586cc69169
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Thu Jan 17 10:29:28 2019 +0000

    add support for Xpath

diff --git a/tests/func/SeleniumForge.php b/tests/func/SeleniumForge.php
index 9d1b3a7..ef8de5b 100644
--- a/tests/func/SeleniumForge.php
+++ b/tests/func/SeleniumForge.php
@@ -194,6 +194,8 @@ class FForge_SeleniumTestCase extends PHPUnit_Extensions_Selenium2TestCase
 		if (preg_match('/^link=/', $link)) {
 			$text = substr($link, 5);
+		} else if (preg_match('/^\/\/[a-z]/', $link)) {
+			$this->byXpath($link)->click();
 		} else {
 			//default case


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


More information about the Fusionforge-commits mailing list