summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php
blob: b001aa28ec030a3491415c121d52529dc5c3e64c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
class Ticket703TestCase extends SeleniumTestCase
{
	function test()
	{
		$base = 'ctl0_Content_';
		$this->open('tickets/index.php?page=Ticket703.Ticket703');
		$this->assertTitle("Verifying Ticket703.Ticket703 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");			
	}
}
?>