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

class Ticket72TestCase extends PradoGenericSelenium2Test
{
	function test()
	{
		$this->url('tickets/index.php?page=Ticket72');
		$this->type("ctl0\$Content\$K1", "abc");
		$this->type("ctl0\$Content\$K2", "efg");
		$this->clickAndWait("//input[@type='submit' and @value='Send']", "");
		$this->assertTextPresent("efg", "");
		$this->assertTextNotPresent("abcefg", "");
	}
}