blob: 3a3b292c8506561e30e620fe95971145e540b2be (
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
25
26
27
28
29
30
31
32
|
<?php
class CallbackAdapterTestCase extends SeleniumTestCase
{
function test()
{
$this->open("active-controls/index.php?page=ControlAdapterTest");
$this->assertTextPresent('Control Adapter - State Tracking Tests');
$this->click('button2');
$this->assertAlert('ok');
$this->click('test6');
$this->pause(500);
$this->click('test7');
$this->pause(500);
$this->click('test8');
$this->pause(500);
$this->click('test9');
$this->pause(500);
$this->click('button1');
$this->assertAlert('haha!');
$this->click('button2');
$this->assertAlert('ok');
$this->assertAlert('baz!');
}
}
?>
|