summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests
diff options
context:
space:
mode:
authorxue <>2006-04-13 12:38:46 +0000
committerxue <>2006-04-13 12:38:46 +0000
commit9e21d160ead61cd0ed86c16a0668c50b14f58baf (patch)
treeae52b73597d49737477f4cc2025310b3b9d831ee /tests/FunctionalTests/tickets/tests
parent8758ffa08275ec1a38f161e0eb80f8ae6ca403f8 (diff)
Added test case for Ticket#121.
Diffstat (limited to 'tests/FunctionalTests/tickets/tests')
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket121TestCase.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket121TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket121TestCase.php
new file mode 100644
index 00000000..7453aeef
--- /dev/null
+++ b/tests/FunctionalTests/tickets/tests/Ticket121TestCase.php
@@ -0,0 +1,19 @@
+<?php
+
+class Ticket121TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket121');
+ $this->type("ctl0\$Content\$FooTextBox", "");
+ $this->verifyNotVisible('ctl0_Content_ctl1');
+ $this->click("//input[@type='image' and @id='ctl0_Content_ctl0']", "");
+ $this->verifyVisible('ctl0_Content_ctl1');
+ $this->type("ctl0\$Content\$FooTextBox", "content");
+ $this->clickAndWait("//input[@type='image' and @id='ctl0_Content_ctl0']", "");
+ $this->verifyNotVisible('ctl0_Content_ctl1');
+ $this->verifyTextPresent("clicked at", "");
+ }
+}
+
+?> \ No newline at end of file