summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/framework/Demos/testControls.php
blob: 49f8e99eb01ff781c662ff2b02e57055f8a5037e (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 testControlSamples()
	{
		$this->assertTextPresent("Welcome! Guest");
		$this->clickAndWait('//input[@value="Toggle Button"]');
		$this->assertTextPresent("Login");
	}
}