blob: 2e0c4ee251068000c76d5bc63b4f69451f396d06 (
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 );
}
}
|