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

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