diff options
author | wei <> | 2007-05-08 03:02:03 +0000 |
---|---|---|
committer | wei <> | 2007-05-08 03:02:03 +0000 |
commit | 0ee23d595c73a94fd61e486cce2f6f42b4c19fdf (patch) | |
tree | 7479a355344263f3343fff6d0804eed6fbf8f5e6 /tests/FunctionalTests/tickets/tests | |
parent | 33737a9270c27478da9f4d50d0fd2bb26ceb6991 (diff) |
Fixed #587
Diffstat (limited to 'tests/FunctionalTests/tickets/tests')
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket587TestCase.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket587TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket587TestCase.php new file mode 100644 index 00000000..f02b6a42 --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket587TestCase.php @@ -0,0 +1,26 @@ +<?php
+
+class Ticket587TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket587_reopened');
+ $this->assertTitle("Verifying Ticket 587_reopened");
+
+ $this->assertText($base."label1", "Label 1");
+ $this->select($base."list1", "item 3");
+ $this->pause(800);
+ $this->select($base."list2", "value 3 - item 4");
+ $this->pause(800);
+ $this->assertText($base."label1", "Selection 2: value 3 - item 4");
+
+ $this->keyPress($base.'text1', 't');
+ $this->pause(800);
+ $this->select($base."list2", "asd 3 - item 2");
+ $this->pause(800);
+ $this->assertText($base."label1", "Selection 2: asd 3 - item 2");
+ }
+}
+
+?>
\ No newline at end of file |