From 0fbba632e80e8a2d0327fea6c5ef86972494a8eb Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 12 Jun 2006 02:35:39 +0000 Subject: Add EnableComments option. --- tests/FunctionalTests/features/protected/controls/Layout.tpl | 1 + tests/FunctionalTests/tickets/tests/Ticket191TestCase.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') 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 @@ + \ 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'); } } -- cgit v1.2.3