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

class ActiveControlExpressionTagTestCase extends PradoGenericSeleniumTest
{
	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');
	}
}