summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket703TestCase.php')
-rwxr-xr-xtests/FunctionalTests/tickets/tests/Ticket703TestCase.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php
index 515bc275..dedb491f 100755
--- a/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php
@@ -9,12 +9,20 @@ class Ticket703TestCase extends PradoGenericSeleniumTest
// Start with an empty log
$this->click($base.'ctl2');
// Wait for callback to be lanched
- $this->pause(2000);
+ $this->pause(1000);
$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");
+
+ // Clean log for next run
+ $this->click($base.'ctl2');
+ // Wait for callback to be lanched
+ $this->pause(1000);
+ $this->assertText($base.'logBox', "");
+
}
} \ No newline at end of file