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 e6720aad1a4946736df1f93bf301c56a7f557d3f (commit)
from 56893f39185c907c0e009bc69a59d630a1566d7a (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=e6720aad1a4946736df1f93bf301c56a7f557d3f
commit e6720aad1a4946736df1f93bf301c56a7f557d3f
Author: Franck Villaume <[email protected]>
Date: Thu Feb 7 20:04:59 2019 +0100
fix quote in xpath search
diff --git a/tests/func/30_Search/searchTest.php
b/tests/func/30_Search/searchTest.php
index 7b38652..523c7f2 100644
--- a/tests/func/30_Search/searchTest.php
+++ b/tests/func/30_Search/searchTest.php
@@ -201,31 +201,31 @@ class Search extends FForge_SeleniumTestCase
// Search in trackers
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's trackers");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("trackers");
$this->type("//input[@name='words']", "brebis");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("No matches found
for"));
$this->assertTrue($this->isTextPresent("Bug1"));
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's trackers");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("trackers");
$this->type("//input[@name='words']", "alpages");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("No matches found
for"));
$this->assertTrue($this->isTextPresent("Bug1"));
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's trackers");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("trackers");
$this->type("//input[@name='words']", "boustrophédon brebis
alpages");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("No matches found
for"));
$this->assertTrue($this->isTextPresent("Bug1"));
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's trackers");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("trackers");
$this->type("//input[@name='words']", "'boustrophédon brebis'");
$this->clickAndWait("//input[@name='Search']");
$this->assertTrue($this->isTextPresent("No matches found for"));
$this->assertFalse($this->isTextPresent("Bug1"));
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's trackers");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("trackers");
$this->type("//input[@name='words']", "boustrophédon cthulhu");
$this->clickAndWait("//input[@name='Search']");
$this->assertTrue($this->isTextPresent("No matches found for"));
@@ -234,7 +234,7 @@ class Search extends FForge_SeleniumTestCase
// Search in one particular tracker
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's trackers");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("trackers");
$this->type("//input[@name='words']", "charlie");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("No matches found
for"));
@@ -284,19 +284,19 @@ class Search extends FForge_SeleniumTestCase
// Search in Tasks
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's tasks");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("tasks");
$this->type("//input[@name='words']", "pinky");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("No matches found
for"));
$this->assertTrue($this->isTextPresent("Task1"));
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's tasks");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("tasks");
$this->type("//input[@name='words']", "cortex");
$this->clickAndWait("//input[@name='Search']");
$this->assertTrue($this->isTextPresent("No matches found for"));
$this->assertFalse($this->isTextPresent("Task1"));
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's tasks");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("tasks");
$this->type("//input[@name='words']", "brain pinky needle");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("No matches found
for"));
@@ -333,7 +333,7 @@ class Search extends FForge_SeleniumTestCase
// Search in Forums
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's forums");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("forums");
$this->type("//input[@name='words']", "bottle");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("No matches found
for"));
@@ -342,7 +342,7 @@ class Search extends FForge_SeleniumTestCase
$this->assertTrue($this->isTextPresent("Message3"));
$this->assertFalse($this->isTextPresent("Message4"));
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's forums");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("forums");
$this->type("//input[@name='words']", "bottle fridge");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("No matches found
for"));
@@ -353,7 +353,7 @@ class Search extends FForge_SeleniumTestCase
// Search in one particular forum
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's forums");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("forums");
$this->type("//input[@name='words']", "charlie");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("No matches found
for"));
@@ -409,14 +409,14 @@ class Search extends FForge_SeleniumTestCase
// Search in Documents
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's documents");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("documents");
$this->type("//input[@name='words']", "jenkins");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("No matches found
for"));
$this->assertTrue($this->isTextPresent("Doc1"));
$this->assertFalse($this->isTextPresent("Doc2"));
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's documents");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("documents");
$this->type("//input[@name='words']", "vladimir jenkins");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("No matches found
for"));
@@ -440,13 +440,13 @@ class Search extends FForge_SeleniumTestCase
// Search in news
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's news");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("news");
$this->type("//input[@name='words']", "sysadmin");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("No matches found
for"));
$this->assertTrue($this->isTextPresent("News2"));
-
$this->select($this->byName("type_of_search"))->selectOptionByLabel("This
project's news");
+
$this->select($this->byName("type_of_search"))->selectOptionByValue("news");
$this->type("//input[@name='words']", "daily newspaper");
$this->clickAndWait("//input[@name='Search']");
$this->assertFalse($this->isTextPresent("No matches found
for"));
-----------------------------------------------------------------------
Summary of changes:
tests/func/30_Search/searchTest.php | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits