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

class Ticket521TestCase extends SeleniumTestCase
{
	function test()
	{
		$base = 'ctl0_Content_';
		$this->open("tickets/index.php?page=Ticket521");
		$this->assertTitle("Verifying Ticket 521");
		$this->assertText("{$base}label1", "Label 1");

		$this->click("{$base}button1");
		$this->pause(1200);

		$this->assertText("{$base}label1", "Button 1 was clicked on callback");
	}

}

?>