blob: 70c52f35f48e0e6e6ea81d08e31319350765c63e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
class Ticket659TestCase extends SeleniumTestCase
{
function test()
{
$base = 'ctl0_Content_';
// Normal component (working)
$this->open('tickets/index.php?page=ToggleTest');
$this->assertText("${base}lbl", "Down");
$this->click("${base}btn", "");
$this->pause(800);
$this->assertText("${base}lbl", "Up");
// Extended component (not working)
$this->open('tickets/index.php?page=Ticket659');
$this->assertText("${base}lbl", "Down");
$this->click("${base}btn", "");
$this->pause(800);
$this->assertText("${base}lbl", "Up");
}
}
?>
|