summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket521TestCase.php
blob: ea9feae8fa05f920e8b1f9ff3bf37101813e3f95 (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");
	}

}

?>