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

class Ticket897TestCase extends PradoGenericSeleniumTest
{
	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');
	}
}