summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket679TestCase.php
blob: 4ee22c20a4def20c384aef700316097921eee29c (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 PradoGenericSeleniumTest
{
	function test()
	{
		$base = 'ctl0_Content_';
		$this->open('tickets/index.php?page=Ticket679');
		$this->assertTitle("Verifying Ticket 679");
		
		// First part of ticket : Repeater bug
		$this->click($base."ctl0");
		$this->pause(800);
		$this->assertText($base."myLabel",'outside');
		$this->verifyVisible($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->verifyVisible($base."myLabel");
		
		// Second part of ticket : ARB bug
		$this->verifyNotChecked($base."myRadioButton");
		$this->click($base."ctl1");
		$this->pause(800);
		$this->verifyChecked($base."myRadioButton");
		$this->click($base."ctl2");
		$this->pause(800);
		$this->verifyNotChecked($base."myRadioButton");
		$this->pause(800);
	}

}