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

class Ticket897TestCase extends PradoGenericSelenium2Test
{
	function test()
	{
		$this->url('tickets/index.php?page=Ticket897');
		$this->assertEquals($this->title(), "Verifying Ticket 897");
		$base = 'ctl0_Content_';

		$this->select($base.'Date_month', 10);
		$this->select($base.'Date_day', 22);

		$this->byId($base.'SendButton')->click();
		$this->assertContains(date('Y').'-10-22', $this->source());
	}
}