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

class Ticket521TestCase extends PradoGenericSeleniumTest
{
	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");
	}

}