summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket849.page5
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket849TestCase.php18
2 files changed, 23 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket849.page b/tests/FunctionalTests/tickets/protected/pages/Ticket849.page
new file mode 100644
index 00000000..f11b181c
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket849.page
@@ -0,0 +1,5 @@
+<com:TContent ID="Content">
+
+<com:TDatePicker DateFormat="MM-dd-yyyy" />
+
+</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket849TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket849TestCase.php
new file mode 100644
index 00000000..52f47e2e
--- /dev/null
+++ b/tests/FunctionalTests/tickets/tests/Ticket849TestCase.php
@@ -0,0 +1,18 @@
+<?php
+
+class Ticket849TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket849');
+ $this->assertTitle("Verifying Ticket 849");
+ $base='ctl0_Content_';
+ $this->click($base.'ctl0');
+ $this->pause(800);
+ $this->click('css=td.date.today.selected');
+ $this->pause(1000);
+ $this->assertValue($base.'ctl0', date('m-d-Y'));
+ }
+}
+
+?> \ No newline at end of file