summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket72TestCase.php
blob: 91fc94206c345e9d27eb0418b410f3c5f729b769 (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->assertContains("efg", $this->source());
		$this->assertNotContains("abcefg", $this->source());
	}
}