summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/tests')
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket703TestCase.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php
new file mode 100644
index 00000000..75fc1d45
--- /dev/null
+++ b/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php
@@ -0,0 +1,21 @@
+<?php
+class Ticket703TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket703.Ticket703');
+ $this->assertTitle("Verifying Ticket 703.703");
+ // Start with an empty log
+ $this->click($base.'ctl2');
+ // Wait for callback to be lanched
+ $this->pause(2000);
+ $this->assertText($base.'logBox', "");
+ $this->type($base.'logMessage', "Test of prado logging system");
+ $this->click($base.'ctl0');
+ $this->pause(800);
+ $this->click($base.'ctl1');
+ $this->assertTextPresent($base.'logBox', "Test of prado logging system");
+ }
+}
+?> \ No newline at end of file