summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets
diff options
context:
space:
mode:
authortof <>2008-05-07 16:27:43 +0000
committertof <>2008-05-07 16:27:43 +0000
commit2c96e6fec5de32b13bc840d76a6e92c3d27f2c0d (patch)
treeb294825372337b6a9c8485b92ad75fc0d3322006 /tests/FunctionalTests/tickets
parentbbb14d2f557204e22080a3099cd2aaa3c7efa689 (diff)
Fixed #849
Diffstat (limited to 'tests/FunctionalTests/tickets')
-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