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

class Ticket876TestCase extends PradoGenericSelenium2Test {

	public function test() {
		$this->url('tickets/index.php?page=Ticket876');
		$this->assertEquals($this->title(), "Verifying Ticket 876");
		$base = 'ctl0_Content_';

		$this->assertElementPresent('//link[@rel="stylesheet"]');
		$this->byId($base.'Button')->click();
		$this->assertElementNotPresent('//link[@rel="stylesheet"]');

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

		$this->byId($base.'SendButton')->click();
		$this->assertSourceContains('2008-10-22');*/
	}

}