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

class Ticket521TestCase extends PradoGenericSelenium2Test
{
	function test()
	{
		$base = 'ctl0_Content_';
		$this->url("tickets/index.php?page=Ticket521");
		$this->assertEquals($this->title(), "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");
	}

}