diff options
author | xue <> | 2006-04-13 12:38:46 +0000 |
---|---|---|
committer | xue <> | 2006-04-13 12:38:46 +0000 |
commit | 9e21d160ead61cd0ed86c16a0668c50b14f58baf (patch) | |
tree | ae52b73597d49737477f4cc2025310b3b9d831ee /tests/FunctionalTests/tickets/tests | |
parent | 8758ffa08275ec1a38f161e0eb80f8ae6ca403f8 (diff) |
Added test case for Ticket#121.
Diffstat (limited to 'tests/FunctionalTests/tickets/tests')
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket121TestCase.php | 19 |
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 |