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

class Ticket220TestCase extends PradoGenericSelenium2Test
{
	function test()
	{
		$base="ctl0_Content_";
		$this->url('tickets/index.php?page=Ticket220');
		$this->assertContains('ClientScript Test', $this->source());
		$this->assertText("{$base}label1", "Label 1");
		
		$this->byId("button1")->click();
		$this->assertText("{$base}label1", 'Label 1: ok; ok 3?; ok 2!');
		$this->assertAlertNotPresent();
	}
}