summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests
diff options
context:
space:
mode:
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..."]');
+ }
+}
+
+?>