blob: 515bc27584be3d8bc8c4681de877581f716d14e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
class Ticket703TestCase extends PradoGenericSeleniumTest
{
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");
}
}
|