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

class Ticket900TestCase extends SeleniumTestCase
{
	function test()
	{
		$this->open('tickets/index.php?page=Ticket900');
		$this->assertTitle("Verifying Ticket 900");
		$base = 'ctl0_Content_';
		
		$this->clickAndWait('ctl0$Content$DataGrid$ctl1$ctl3');
		$this->type($base.'DataGrid_ctl1_TextBox', '');
		$this->click($base.'DataGrid_ctl1_ctl3');
		$this->clickAndWait('ctl0$Content$DataGrid$ctl1$ctl4');
		$this->assertText($base.'CommandName', 'cancel');
	}
}

?>