summaryrefslogtreecommitdiff
path: root/tests/selenium/suites/SimpleSeleniumTestSuite.php
blob: 446836a2959f3b2650ffdafb43b9b6a042c2cd54 (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
<?php
/**
 * Sample test suite.
 * Two ways to configure MW for these tests
 * 1) If you are running multiple test suites, add the following in LocalSettings.php
 * require_once("tests/selenium/SimpleSeleniumConfig.php");
 * $wgSeleniumTestConfigs['SimpleSeleniumTestSuite'] = 'SimpleSeleniumConfig::getSettings';
 * OR
 * 2) Add the following to your Localsettings.php
 * $wgDefaultSkin = 'chick';
 */
class SimpleSeleniumTestSuite extends SeleniumTestSuite {
	public function setUp() {
		$this->setLoginBeforeTests( false );
		parent::setUp();
	}

	public function addTests() {
		$testFiles = array(
			'selenium/suites/SimpleSeleniumTestCase.php'
		);
		parent::addTestFiles( $testFiles );
	}


}