summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket72TestCase.php
blob: b1c576be9b0dc0b81ad2c927519bcef6bf25cbcf (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->byXPath("//input[@type='submit' and @value='Send']")->click();
		$this->assertSourceContains("efg");
		$this->assertSourceNotContains("abcefg");
	}
}