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

class Ticket220TestCase extends PradoGenericSeleniumTest
{
	function test()
	{
		$base="ctl0_Content_";
		$this->open('tickets/index.php?page=Ticket220');
		$this->assertTextPresent('ClientScript Test');
		$this->assertText("{$base}label1", "Label 1");
		
		$this->click("button1");
		$this->assertText("{$base}label1", 'exact:Label 1: ["ok", "ok 3?", "ok 2!"]');
		$this->assertAlertNotPresent();
	}
}