blob: 91326e9d8f3d833115eba3e9f3b144e161d846eb (
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 PradoGenericSeleniumTest
{
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");
}
}
|