summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests
diff options
context:
space:
mode:
authorknut <>2008-08-18 23:22:07 +0000
committerknut <>2008-08-18 23:22:07 +0000
commit8047f7b1482f10690836d8cf553c151e3bf993da (patch)
tree2d7246de69017c34c9bbe48ee15d14da94842cdb /tests/FunctionalTests
parentb26ef59b9ffbc9b8dfa15b6456fd0071474b9608 (diff)
fixed #823
Diffstat (limited to 'tests/FunctionalTests')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket823.page5
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket823TestCase.php13
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket823.page b/tests/FunctionalTests/tickets/protected/pages/Ticket823.page
new file mode 100644
index 00000000..8da83c65
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket823.page
@@ -0,0 +1,5 @@
+<com:TContent ID="Content">
+
+ <com:TDropDownList ID="DropDownList" PromptText="Choose..."/>
+
+</com:TContent>
diff --git a/tests/FunctionalTests/tickets/tests/Ticket823TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket823TestCase.php
new file mode 100644
index 00000000..c42990de
--- /dev/null
+++ b/tests/FunctionalTests/tickets/tests/Ticket823TestCase.php
@@ -0,0 +1,13 @@
+<?php
+
+class Ticket823TestCase extends SeleniumTestCase {
+
+ public function test() {
+ $this->open('tickets/index.php?page=Ticket823');
+ $this->assertTitle("Verifying Ticket 823");
+ $base = 'ctl0_Content_';
+ $this->assertElementPresent('xpath=//option[@value="Choose..."]');
+ }
+}
+
+?>