blob: 6a5ae0ffd7a11f7d2e8c1594dce0d6707b687bd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
class Ticket274TestCase extends SeleniumTestCase
{
function test()
{
$base = 'ctl0_Content_';
$this->open('tickets/index.php?page=Ticket274');
$this->assertTitle('Verifying Ticket 274');
$this->assertNotVisible($base.'validator1');
$this->assertNotVisible($base.'validator2');
$this->clickAndWait($base.'button1');
$this->assertVisible($base.'validator1');
$this->assertNotVisible($base.'validator2');
$this->type($base.'MyDate', 'asd');
$this->clickAndWait($base.'button1');
$this->assertVisible($base.'validator1');
$this->assertNotVisible($base.'validator2');
}
}
?>
|