summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket587TestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket587TestCase.php')
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket587TestCase.php26
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