summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/tests/ActiveControlExpressTagTestCase.php
blob: 7da7315cf04a11e2841702dcbf730f256fac80c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

class ActiveControlExpressionTagTestCase extends SeleniumTestCase
{
	function test()
	{
		$this->open('active-controls/index.php?page=ActiveControlExpressionTag');
		$this->assertTextPresent('Active Control With Expression Tag Test');
		$this->assertTextNotPresent('Text box content:');

		$this->type('textbox1', 'Hello world');
		$this->click('button1');
		$this->pause(800);

		$this->assertText('repeats', 'result - 1 result - two');
		$this->assertText('contents', 'Text box content: Hello world');
	}
}

?>