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 480e62b1c632ad601b0255487b48e239e2799bc9 (commit)
from 9766040f43d75576f7766a43265199f2ed639a7b (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=480e62b1c632ad601b0255487b48e239e2799bc9
commit 480e62b1c632ad601b0255487b48e239e2799bc9
Author: Franck Villaume <[email protected]>
Date: Fri Jul 15 14:53:38 2016 +0200
fix test with new docman form
diff --git a/tests/func/30_Search/searchTest.php
b/tests/func/30_Search/searchTest.php
index 0752eda..2c19000 100644
--- a/tests/func/30_Search/searchTest.php
+++ b/tests/func/30_Search/searchTest.php
@@ -394,7 +394,7 @@ class Search extends FForge_SeleniumTestCase
$this->clickAndWait("addItemDocmanMenu");
$this->click("id=tab-new-document");
$this->type("title", "Doc1 Vladimir");
- $this->type("//input[@name='description']", "Jenkins buildbot -
also, ZONGO");
+ $this->type("//textarea[@name='description']", "Jenkins
buildbot - also, ZONGO");
$this->click("//input[@name='type' and @value='pasteurl']");
$this->type("file_url", "http://buildbot.fusionforge.org/");
$this->clickAndWait("submit");
@@ -402,7 +402,7 @@ class Search extends FForge_SeleniumTestCase
$this->clickAndWait("addItemDocmanMenu");
$this->click("id=tab-new-document");
$this->type("title", "Doc2 Astromir");
- $this->type("//input[@name='description']", "Main website (the
needle) - also, ZONGO");
+ $this->type("//textarea[@name='description']", "Main website
(the needle) - also, ZONGO");
$this->click("//input[@name='type' and @value='pasteurl']");
$this->type("file_url", "http://fusionforge.org/");
$this->clickAndWait("submit");
@@ -663,49 +663,49 @@ class Search extends FForge_SeleniumTestCase
$this->type("//input[@name='words']", "coded");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("public description for
projectc"));
-
+
$this->open(ROOT) ;
$this->type("//input[@name='words']", "goldorak");
$this->clickAndWait("//input[@name='Search']");
$this->assertTrue($this->isTextPresent("public description for
projectc"));
-
+
$this->open(ROOT) ;
$this->type("//input[@name='words']", "hotel");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("public description for
projectc"));
-
+
// In English, accents are removed and coding==coded
$this->runCommand(dirname(__FILE__).'/../../../src/bin/configure-fti-search.php
english');
$this->open(ROOT) ;
$this->type("//input[@name='words']", "coded");
$this->clickAndWait("//input[@name='Search']");
$this->assertTrue($this->isTextPresent("public description for
projectc"));
-
+
$this->open(ROOT) ;
$this->type("//input[@name='words']", "goldorak");
$this->clickAndWait("//input[@name='Search']");
$this->assertTrue($this->isTextPresent("public description for
projectc"));
-
+
$this->open(ROOT) ;
$this->type("//input[@name='words']", "hotel");
$this->clickAndWait("//input[@name='Search']");
$this->assertTrue($this->isTextPresent("public description for
projectc"));
-
+
// In French, accents are removed but coding==coded
$this->runCommand(dirname(__FILE__).'/../../../src/bin/configure-fti-search.php
french');
$this->open(ROOT) ;
$this->type("//input[@name='words']", "coded");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("public description for
projectc"));
-
+
$this->open(ROOT) ;
$this->type("//input[@name='words']", "goldorak");
$this->clickAndWait("//input[@name='Search']");
$this->assertTrue($this->isTextPresent("public description for
projectc"));
-
+
$this->open(ROOT) ;
$this->type("//input[@name='words']", "hotel");
$this->clickAndWait("//input[@name='Search']");
$this->assertTrue($this->isTextPresent("public description for
projectc"));
-}
+ }
}
-----------------------------------------------------------------------
Summary of changes:
tests/func/30_Search/searchTest.php | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits