[Fusionforge-commits] r11867 - branches/Branch_5_1/tests/func/Site
Roland Mas
lolando at libremir.placard.fr.eu.org
Tue Dec 21 10:39:37 CET 2010
Author: lolando
Date: 2010-12-21 10:39:37 +0100 (Tue, 21 Dec 2010)
New Revision: 11867
Modified:
branches/Branch_5_1/tests/func/Site/projectsTest.php
Log:
Added asserts to check template feature
Modified: branches/Branch_5_1/tests/func/Site/projectsTest.php
===================================================================
--- branches/Branch_5_1/tests/func/Site/projectsTest.php 2010-12-21 09:23:56 UTC (rev 11866)
+++ branches/Branch_5_1/tests/func/Site/projectsTest.php 2010-12-21 09:39:37 UTC (rev 11867)
@@ -63,6 +63,7 @@
$this->type("description", "This is the public description for ProjectA.");
$this->type("unix_name", "projecta");
$this->click("//input[@name='scm' and @value='scmsvn']");
+ $this->assertTrue($this->isElementPresent("//select[@name='built_from_template']"));
$this->click("submit");
$this->waitForPageToLoad("30000");
$this->assertTrue($this->isTextPresent("Your project has been submitted"));
@@ -179,6 +180,7 @@
$this->waitForPageToLoad("30000");
$this->click("link=Register Project");
$this->waitForPageToLoad("30000");
+ $this->assertTrue($this->isElementPresent("//select[@name='built_from_template']"));
$this->type("full_name", "ProjectA");
$this->type("purpose", "This is a simple description for ProjectA");
$this->type("description", "This is the public description for ProjectA.");
More information about the Fusionforge-commits
mailing list