summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorwei <>2006-06-12 02:35:39 +0000
committerwei <>2006-06-12 02:35:39 +0000
commit0fbba632e80e8a2d0327fea6c5ef86972494a8eb (patch)
treee47cd1da04ac0c4e5b6f72d2b85b686144991c08 /tests
parent184a867dd08a98cce84466ad32d94796adaf3de9 (diff)
Add EnableComments option.
Diffstat (limited to 'tests')
-rw-r--r--tests/FunctionalTests/features/protected/controls/Layout.tpl1
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket191TestCase.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/FunctionalTests/features/protected/controls/Layout.tpl b/tests/FunctionalTests/features/protected/controls/Layout.tpl
index 66b42f6c..dbd433b8 100644
--- a/tests/FunctionalTests/features/protected/controls/Layout.tpl
+++ b/tests/FunctionalTests/features/protected/controls/Layout.tpl
@@ -27,6 +27,7 @@
<body>
<com:TForm>
<com:TContentPlaceHolder ID="Content" />
+<com:TJavascriptLogger />
</com:TForm>
</body>
</html> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket191TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket191TestCase.php
index cc4c1571..d899aab5 100644
--- a/tests/FunctionalTests/tickets/tests/Ticket191TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket191TestCase.php
@@ -6,9 +6,9 @@ class Ticket191TestCase extends SeleniumTestCase
{
$this->open('tickets/index.php?page=Ticket191');
$this->type("ctl0\$Content\$TextBox2", "test");
- $this->clickAndWait("//input[@type='submit' and @name='ctl0\$Content\$ctl0']", "");
+ $this->clickAndWait("name=ctl0\$Content\$ctl0");
$this->type("ctl0\$Content\$TextBox", "test");
- $this->clickAndWait("//input[@type='submit' and @name='ctl0\$Content\$ctl1']", "");
+ $this->clickAndWait("name=ctl0\$Content\$ctl1");
$this->verifyNotVisible('ctl0_Content_ctl2');
}
}