[Fusionforge-commits] FusionForge branch master updated. 6.0.4-674-g31545fe

Franck Villaume nerville at libremir.placard.fr.eu.org
Fri Jul 8 10:26:42 CEST 2016


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  31545fe4ad6887e9c49ca5d4792ff6961cd3e6f5 (commit)
      from  465c44d61a4c50be7ff377655b15df181efcb8e0 (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=31545fe4ad6887e9c49ca5d4792ff6961cd3e6f5

commit 31545fe4ad6887e9c49ca5d4792ff6961cd3e6f5
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri Jul 8 10:26:38 2016 +0200

    fix tests for new enabled/show on submit for extrafield

diff --git a/tests/func/20_Trackers/trackersTest.php b/tests/func/20_Trackers/trackersTest.php
index 995c85e..3e7568b 100644
--- a/tests/func/20_Trackers/trackersTest.php
+++ b/tests/func/20_Trackers/trackersTest.php
@@ -145,7 +145,7 @@ class CreateTracker extends FForge_SeleniumTestCase
 		$this->click("field_type");
 		$this->click("post_changes");
 		$this->waitForPageToLoad("30000");
-		$this->click("//tr[@id='field-number']/td[6]/a[1]");
+		$this->click("//tr[@id='field-number']/td[8]/a[1]");
 		$this->waitForPageToLoad("30000");
 		$this->type("name", "1");
 		$this->clickAndWait("post_changes");
@@ -163,12 +163,12 @@ class CreateTracker extends FForge_SeleniumTestCase
 		// Testing [#3649]: 0 not accepted when modifying a select list value
 		$this->click("link=Manage Custom Fields");
 		$this->waitForPageToLoad("30000");
-		$this->click("//tr[@id='field-number']/td[5]/a[5]");
+		$this->click("//tr[@id='field-number']/td[7]/a[5]");
 		$this->waitForPageToLoad("30000");
 		$this->type("name", "10");
 		$this->click("post_changes");
 		$this->waitForPageToLoad("30000");
-		$this->click("//tr[@id='field-number']/td[5]/a[5]");
+		$this->click("//tr[@id='field-number']/td[7]/a[5]");
 		$this->waitForPageToLoad("30000");
 		$this->type("name", "0");
 		$this->click("post_changes");
diff --git a/tests/func/20_Trackers/workflowTest.php b/tests/func/20_Trackers/workflowTest.php
index fd4edf3..6c0a135 100644
--- a/tests/func/20_Trackers/workflowTest.php
+++ b/tests/func/20_Trackers/workflowTest.php
@@ -66,14 +66,14 @@ class CreateTrackerWorkflow extends FForge_SeleniumTestCase
 		$this->click("//input[@name='field_type' and @value=7]");
 		$this->click("post_changes");
 		$this->waitForPageToLoad("30000");
-		$this->click("//tr[@id='field-mystatus']/td[6]/a[1]");
+		$this->click("//tr[@id='field-mystatus']/td[8]/a[1]");
 		$this->waitForPageToLoad("30000");
 		$this->type("name", "New");
 		$this->click("post_changes");
 		$this->waitForPageToLoad("30000");
 		$this->click("link=Manage Custom Fields");
 		$this->waitForPageToLoad("30000");
-		$this->click("//tr[@id='field-mystatus']/td[6]/a[1]");
+		$this->click("//tr[@id='field-mystatus']/td[8]/a[1]");
 		$this->waitForPageToLoad("30000");
 		$this->type("name", "Analyse");
 		$this->select("status_id", "label=Open");
@@ -83,14 +83,14 @@ class CreateTrackerWorkflow extends FForge_SeleniumTestCase
 		$this->waitForPageToLoad("30000");
 		$this->click("link=Manage Custom Fields");
 		$this->waitForPageToLoad("30000");
-		$this->click("//tr[@id='field-mystatus']/td[6]/a[1]");
+		$this->click("//tr[@id='field-mystatus']/td[8]/a[1]");
 		$this->waitForPageToLoad("30000");
 		$this->type("name", "Candidate");
 		$this->click("post_changes");
 		$this->waitForPageToLoad("30000");
 		$this->click("link=Manage Custom Fields");
 		$this->waitForPageToLoad("30000");
-		$this->click("//tr[@id='field-mystatus']/td[6]/a[1]");
+		$this->click("//tr[@id='field-mystatus']/td[8]/a[1]");
 		$this->waitForPageToLoad("30000");
 		$this->type("name", "Open");
 		$this->clickAndWait("post_changes");

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

Summary of changes:
 tests/func/20_Trackers/trackersTest.php | 6 +++---
 tests/func/20_Trackers/workflowTest.php | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list