diff options
author | wei <> | 2007-04-02 06:19:55 +0000 |
---|---|---|
committer | wei <> | 2007-04-02 06:19:55 +0000 |
commit | 1ba083b9bf77b334b773b84d4d9e5f44319d17a2 (patch) | |
tree | ab9b36010b61f22019bb99270b3d4c2aa7381ab7 /tests/FunctionalTests/tickets/tests/Ticket586TestCase.php | |
parent | 183b4fefb355d0c607ea4b7cc270035bcc1ffd9e (diff) |
Fixed #585, #586
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket586TestCase.php')
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket586TestCase.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket586TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket586TestCase.php new file mode 100644 index 00000000..4b5619cd --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket586TestCase.php @@ -0,0 +1,21 @@ +<?php
+
+class Ticket586TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket586');
+ $this->verifyTitle("Verifying Ticket 586", "");
+
+ $this->assertText("{$base}label1", "Status");
+ $this->clickAndWait("{$base}button1");
+ $this->assertText("{$base}label1", "Button 1 Clicked!");
+
+ $this->type("{$base}text1", "testing");
+ $this->keyDownAndWait("{$base}text1", '\13');
+ $this->assertText("{$base}label1", "Button 2 (default) Clicked!");
+ }
+}
+
+?>
\ No newline at end of file |