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

class testControls extends SeleniumTestCase
{
	function setup()
	{
		$this->open('../../demos/controls/index.php');
	}

	function testIndexPage()
	{
		$this->assertTextPresent("Welcome! Guest");
		$this->clickAndWait('ctl0$header$ctl15');
		$this->assertTextPresent("Login");
	}
}