summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests
diff options
context:
space:
mode:
authorwei <>2007-03-30 05:04:30 +0000
committerwei <>2007-03-30 05:04:30 +0000
commit4f968c045e0d09ab3e4f659743effb5305a963ce (patch)
tree58d5cb87db43ba87c0a559d411e9d36aa0bd7f3c /tests/FunctionalTests/tickets/tests
parent70744a98444df0583d76f19d4e399a5cc49349b7 (diff)
Fixed #507 and update other active controls.
Diffstat (limited to 'tests/FunctionalTests/tickets/tests')
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket507TestCase.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket507TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket507TestCase.php
new file mode 100644
index 00000000..e8ddbfce
--- /dev/null
+++ b/tests/FunctionalTests/tickets/tests/Ticket507TestCase.php
@@ -0,0 +1,27 @@
+<?php
+
+class Ticket507TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base='ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket507');
+ $this->verifyTitle("Verifying Ticket 507", "");
+
+ $this->assertText("{$base}label1", "Label 1");
+
+ $this->click("{$base}button1");
+ $this->pause(800);
+
+ $this->select("{$base}list1", "item 1");
+ $this->pause(800);
+ $this->assertText("{$base}label1", "Selection: value 1");
+
+ $this->addSelection("{$base}list1", "item 3");
+
+ $this->pause(800);
+ $this->assertText("{$base}label1", "Selection: value 1, value 3");
+ }
+}
+
+?> \ No newline at end of file