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

class Ticket897TestCase extends SeleniumTestCase
{
	function test()
	{
		$this->open('tickets/index.php?page=Ticket897');
		$this->assertTitle("Verifying Ticket 897");
		$base = 'ctl0_Content_';
		
		$this->select($base.'Date_month', 10);
		$this->select($base.'Date_day', 22);
		
		$this->clickAndWait($base.'SendButton');
		$this->assertTextPresent(date('Y').'-10-22');
	}
}

?>