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

class Ticket433TestCase extends PradoGenericSelenium2Test
{
	function test()
	{
		$base = 'ctl0_Content_';
		$this->url('tickets/index.php?page=Ticket433');
		$this->assertEquals($this->title(), "Verifying Ticket 433");
		$this->assertText("{$base}VoteClick", "BEFORE click");

		$this->byId("{$base}VoteClick")->click();
		$this->pause(800);
		$this->assertText("{$base}VoteClick", "AFTER click CALLBACK DONE");
	}
}