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

class Ticket876TestCase extends SeleniumTestCase {

	public function test() {
		$this->open('tickets/index.php?page=Ticket876');
		$this->assertTitle("Verifying Ticket 876");
		$base = 'ctl0_Content_';
		
		$this->assertElementPresent('xpath=//link[@rel="stylesheet"]');
		$this->clickAndWait($base.'Button');
		$this->assertElementNotPresent('xpath=//link[@rel="stylesheet"]');
		
		/*$this->select($base.'Date_month', 10);
		$this->select($base.'Date_day', 22);
		
		$this->clickAndWait($base.'SendButton');
		$this->assertTextPresent('2008-10-22');*/
	}
	
}

?>