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 b1312b3458aa29e77c437eafaf37d120da53ad59 (commit)
from 51b10243cb358405f47e11e0399c2b2265283782 (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=b1312b3458aa29e77c437eafaf37d120da53ad59
commit b1312b3458aa29e77c437eafaf37d120da53ad59
Author: Franck Villaume <[email protected]>
Date: Fri Dec 2 14:58:25 2016 +0100
fix test post IE hack part 4
diff --git a/tests/func/50_PluginsScmGit/gitSmartHTTPTest.php
b/tests/func/50_PluginsScmGit/gitSmartHTTPTest.php
index 3f9d061..bcf4866 100644
--- a/tests/func/50_PluginsScmGit/gitSmartHTTPTest.php
+++ b/tests/func/50_PluginsScmGit/gitSmartHTTPTest.php
@@ -131,7 +131,7 @@ class ScmGitSmartHTTPTest extends FForge_SeleniumTestCase
$this->clickAndWait("link=Admin");
$this->clickAndWait("link=Users and permissions");
$this->type
("//form[contains(@action,'users.php')]//input[@name='form_unix_name' and
@type='text']", "otheruser") ;
- $this->select("//input[@value='Add
Member']/../select[@name='role_id']", "label=Admin");
+ $this->select("//input[@value='Add
Member']/../fieldset/select[@name='role_id']", "label=Admin");
$this->clickAndWait ("//input[@value='Add Member']") ;
$this->assertTrue($this->isTextPresent("otheruser Lastname"));
$this->assertTrue($this->isElementPresent("//tr/td/a[.='otheruser
Lastname']/../../td/div[contains(.,'Admin')]")) ;
diff --git a/tests/func/60_PluginsGlobalactivity/globalactivityTest.php
b/tests/func/60_PluginsGlobalactivity/globalactivityTest.php
index a95e6e5..0fe5618 100644
--- a/tests/func/60_PluginsGlobalactivity/globalactivityTest.php
+++ b/tests/func/60_PluginsGlobalactivity/globalactivityTest.php
@@ -127,13 +127,13 @@ class GlobalActivity extends FForge_SeleniumTestCase
$soapclient = new SoapClient(WSDL_URL);
$this->assertNotNull($soapclient);
-
+
$userid = FORGE_ADMIN_USERNAME;
$passwd = FORGE_ADMIN_PASSWORD;
-
+
$response = $soapclient->login($userid, $passwd);
$session = $response;
-
+
$response =
$soapclient->globalactivity_getActivity($session,time()-3600,time(),array());
$found = False;
foreach ($response as $data) {
@@ -215,12 +215,12 @@ class GlobalActivity extends FForge_SeleniumTestCase
$this->clickAndWait("link=Users and permissions");
$this->clickAndWait
("//td/form/div[contains(.,'Anonymous')]/../div/input[@value='Edit
Permissions']") ;
$this->select("//select[contains(@name,'data[project_read]')]",
"label=Visible");
-
$this->select("//tr/td[.='Bugs']/../td/select[contains(@name,'data[tracker]')]",
"label=No Access");
-
$this->select("//tr/td[.='Patches']/../td/select[contains(@name,'data[tracker]')]",
"label=No Access");
- $this->select("//tr/td[.='To
Do']/../td/select[contains(@name,'data[pm]')]", "label=No Access");
- $this->select("//tr/td[.='Next
Release']/../td/select[contains(@name,'data[pm]')]", "label=No Access");
-
$this->select("//tr/td[.='open-discussion']/../td/select[contains(@name,'data[forum]')]",
"label=No Access");
-
$this->select("//tr/td[.='developers-discussion']/../td/select[contains(@name,'data[forum]')]",
"label=No Access");
+
$this->select("//tr/td[.='Bugs']/../td/fieldset/select[contains(@name,'data[tracker]')]",
"label=No Access");
+
$this->select("//tr/td[.='Patches']/../td/fieldset/select[contains(@name,'data[tracker]')]",
"label=No Access");
+ $this->select("//tr/td[.='To
Do']/../td/fieldset/select[contains(@name,'data[pm]')]", "label=No Access");
+ $this->select("//tr/td[.='Next
Release']/../td/fieldset/select[contains(@name,'data[pm]')]", "label=No
Access");
+
$this->select("//tr/td[.='open-discussion']/../td/fieldset/select[contains(@name,'data[forum]')]",
"label=No Access");
+
$this->select("//tr/td[.='developers-discussion']/../td/fieldset/select[contains(@name,'data[forum]')]",
"label=No Access");
$this->select("//select[contains(@name,'data[docman]')]",
"label=Read only");
$this->clickAndWait ("//input[@value='Submit']") ;
-----------------------------------------------------------------------
Summary of changes:
tests/func/50_PluginsScmGit/gitSmartHTTPTest.php | 2 +-
.../60_PluginsGlobalactivity/globalactivityTest.php | 18 +++++++++---------
2 files changed, 10 insertions(+), 10 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits