summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket691TestCase.php
blob: d014f2f4d7c07fbd8b60bb8ad806e03952e19ecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
class Ticket691TestCase extends PradoGenericSelenium2Test
{
	function test()
	{
		$base = 'ctl0_Content_';
		$this->url('tickets/index.php?page=Ticket691');
		$this->assertEquals($this->title(), "Verifying Ticket 691");

		$this->byXPath("//input[@id='{$base}List_c2']/../..")->click();
		$this->pause(800);
		$this->assertText("{$base}Title", "Thanks");
		$this->assertText("{$base}Result", "You vote 3");
	}

}