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

class Ticket27TestCase extends PradoGenericSelenium2Test
{
	function test()
	{
		$this->url('tickets/index.php?page=Ticket27');
		$this->assertEquals("Verifying Ticket 27", $this->title());
		$this->byXPath("//input[@value='Agree']")->click();
		$this->assertVisible("ctl0_Content_validator1");
		$this->type("ctl0_Content_TextBox", "122");
		$this->assertNotVisible("ctl0_Content_validator1");
		$this->byXPath("//input[@value='Disagree']")->click();
		$this->assertNotVisible("ctl0_Content_validator1");
	}
}