summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket521TestCase.php
blob: 71457b58020b87c7719ca81904a045ab3dad1900 (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->byId("{$base}button1")->click();
		$this->pause(1200);

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

}