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