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

class Ticket587TestCase extends SeleniumTestCase
{
	function test()
	{
		$base = 'ctl0_Content_';
		$this->open('tickets/index.php?page=Ticket587_reopened');
		$this->assertTitle("Verifying Ticket 587_reopened");

		$this->assertText($base."label1", "Label 1");
		$this->select($base."list1", "item 3");
		$this->pause(800);
		$this->select($base."list2", "value 3 - item 4");
		$this->pause(800);
		$this->assertText($base."label1", "Selection 2: value 3 - item 4");

		$this->keyPress($base.'text1', 't');
		$this->pause(800);
		$this->select($base."list2", "asd 3 - item 2");
		$this->pause(800);
		$this->assertText($base."label1", "Selection 2: asd 3 - item 2");
	}
}

?>