summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket477TestCase.php
blob: 10c36e7d1d94acc316e8eb2c39ca61a66e299cbd (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
<?php

class Ticket477TestCase extends SeleniumTestCase
{
	function test()
	{
		$base = 'ctl0_Content_';
		$this->open('tickets/index.php?page=Ticket477');
		$this->assertTitle("Verifying Ticket 477");
		$this->assertNotVisible("{$base}validator1");
		$this->assertNotVisible("{$base}validator2");

		$this->clickAndWait("{$base}list1_c1");
		$this->assertVisible("{$base}validator1");
		$this->assertNotVisible("{$base}validator2");


		$this->clickAndWait("{$base}list2_c1");
		$this->assertNotVisible("{$base}validator1");
		$this->assertVisible("{$base}validator2");
	}
}

?>