[Fusionforge-commits] FusionForge branch master updated. v6.1-212-gc0be8ae

Franck Villaume nerville at libremir.placard.fr.eu.org
Sun Jan 27 19:41:54 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  c0be8aee7da347f95afa5e59685019f713ab288a (commit)
      from  97520674a5a2cd86f5d20c8d30b3aed30b52b289 (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=c0be8aee7da347f95afa5e59685019f713ab288a

commit c0be8aee7da347f95afa5e59685019f713ab288a
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Jan 27 19:41:19 2019 +0100

    fix testAddNewCurrentVersion test

diff --git a/tests/func/20_Docs/createDocURLTest.php b/tests/func/20_Docs/createDocURLTest.php
index c65c4a3..6685d01 100644
--- a/tests/func/20_Docs/createDocURLTest.php
+++ b/tests/func/20_Docs/createDocURLTest.php
@@ -154,7 +154,7 @@ class CreateDocURL extends FForge_SeleniumTestCase {
 		$this->type("file_url", URL."/terms.php");
 		$this->clickAndWait("//input[@name='submit' and @value='Submit Information']");
 		$this->assertTextPresent("Document ".URL."/terms.php submitted successfully");
-		$this->clickAndWait("listFileDocmanMenu");
+		$this->clickAndWait("id=listFileDocmanMenu");
 		$this->clickAndWait("link=Uncategorized Submissions");
 		$this->clickAndWait("css=img[alt='editdocument']");
 		$this->pause("10000");
@@ -165,7 +165,7 @@ class CreateDocURL extends FForge_SeleniumTestCase {
 		$this->clickAndWait("id=current_version");
 		$this->clickAndWait("id=editButtonUrl");
 		$this->type("id=editFileurl", "http://google.fr");
-		$this->clickAndWait("xpath=(//button[@type='button'])[3]");
+		$this->clickAndWait("//div[3]/div/button");
 		$this->assertTextPresent("updated successfully");
 		$this->assertTextPresent("google.fr");
 	}

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

Summary of changes:
 tests/func/20_Docs/createDocURLTest.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list