summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket21TestCase.php
blob: b9a0f0c9b4e9035023028ffcacd5471a71a0ef09 (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->assertContains("Radio button clicks: 1", $this->source());
		$this->byId("ctl0_Content_button1")->click();
		$this->assertContains("Radio button clicks: 1", $this->source());
	}
}