summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket21TestCase.php
blob: 08286020c6c60a5eaceeefb5f7bb28dada0f33cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

class Ticket21TestCase extends PradoGenericSelenium2Test
{
	function test()
	{
		$this->url('tickets/index.php?page=Ticket21');
		$this->assertEquals($this->title(), "Verifying Ticket 21");
		$this->byId("ctl0_Content_button1")->click();
		$this->assertSourceContains("Radio button clicks: 1");
		$this->byId("ctl0_Content_button1")->click();
		$this->assertSourceContains("Radio button clicks: 1");
	}
}