blob: af957fa3aff92f91e22129e82b5bf1d61d6e64a1 (
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
33
34
35
36
|
<?php
class Ticket679TestCase extends PradoGenericSelenium2Test
{
function test()
{
$base = 'ctl0_Content_';
$this->url('tickets/index.php?page=Ticket679');
$this->assertEquals($this->title(), "Verifying Ticket 679");
// First part of ticket : Repeater bug
$this->click($base."ctl0");
$this->pause(800);
$this->assertText($base."myLabel",'outside');
$this->assertVisible($base."myLabel");
// Reload completly the page
$this->refresh();
$this->pause(800);
$this->click($base."Repeater_ctl0_ctl0");
$this->pause(800);
$this->assertText($base."myLabel",'inside');
$this->assertVisible($base."myLabel");
// Second part of ticket : ARB bug
$this->assertNotChecked($base."myRadioButton");
$this->click($base."ctl1");
$this->pause(800);
$this->assertChecked($base."myRadioButton");
$this->click($base."ctl2");
$this->pause(800);
$this->assertNotChecked($base."myRadioButton");
$this->pause(800);
}
}
|