summaryrefslogtreecommitdiff
path: root/tests/test_tools/PradoGenericSeleniumTest.php
blob: c3d3f4f0fdd3dd1d7e26ebdcec7c08fcb155dbb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
require_once 'PHPUnit/Extensions/SeleniumTestCase.php';

class PradoGenericSeleniumTest extends PHPUnit_Extensions_SeleniumTestCase
{
	public static $browsers = array(
/*
		array(
			'name'    => 'Firefox on OSX',
			'browser' => '*firefox',
			'host'    => '127.0.0.1',
			'port'    => 4444,
			'timeout' => 30000,
		),
*/
		array(
			'name'    => 'Chrome on OSX',
			'browser' => '*googlechrome',
			'host'    => '127.0.0.1',
			'port'    => 4444,
			'timeout' => 30000,
		),
/*
		array(
			'name'    => 'Firefox on WindowsXP',
			'browser' => '*firefox',
			'host'    => '127.0.0.1',
			'port'    => 4445,
		),
		array(
			'name'    => 'Internet Explorer 8 on WindowsXP',
			'browser' => '*iehta',
			'host'    => '127.0.0.1',
			'port'    => 4445,
		),
*/
	);

	static $baseurl='http://192.168.44.82/prado-master/tests/FunctionalTests/';

	protected function setUp()
	{
		$this->shareSession(true);
		$this->setBrowserUrl(static::$baseurl);
	}

	protected function tearDown()
	{
	}
}