[Fusionforge-commits] FusionForge branch master updated. 1e0b9d561ceb5e7772f2d7de0b784aef59dde757

Roland Mas lolando at fusionforge.org
Wed Dec 18 09:59:15 CET 2013


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  1e0b9d561ceb5e7772f2d7de0b784aef59dde757 (commit)
      from  f69917a759f6b0c4a06acbe6b4e8f36ad23646ba (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 1e0b9d561ceb5e7772f2d7de0b784aef59dde757
Author: Roland Mas <lolando at debian.org>
Date:   Wed Dec 18 09:59:10 2013 +0100

    Sleep a bit to let JS do its stuff

diff --git a/tests/func/Docs/createDocURLTest.php b/tests/func/Docs/createDocURLTest.php
index 96bb37b..d61b4da 100644
--- a/tests/func/Docs/createDocURLTest.php
+++ b/tests/func/Docs/createDocURLTest.php
@@ -63,7 +63,8 @@ class CreateDocURL extends FForge_SeleniumTestCase
 		$this->type("title", "My document");
 		$this->type("//input[@name='description']", "L'année dernière à Noël, 3 < 4, 中国 \" <em>, père & fils");
 		$this->click("//input[@name='type' and @value='pasteurl']");
-		$this->type("file_url", URL."/terms.php");
+		sleep(1); // To let JS activate the proper field
+		$this->type("//input[@name='file_url']", URL."/terms.php");
 		$this->clickAndWait("submit");
 		$this->assertTextPresent("Document ".URL."/terms.php submitted successfully");
 		$this->assertTextPresent("My document");

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

Summary of changes:
 tests/func/Docs/createDocURLTest.php |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list