blob: 8d705772b3f29dabd25ba69b9755f98177b24e2d (
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");
}
}
?>
|