Index: trunk/phase3/maintenance/tests/selenium/SimpleSeleniumConfig.php |
— | — | @@ -3,7 +3,7 @@ |
4 | 4 | |
5 | 5 | public static function getSettings(&$includeFiles, &$globalConfigs) { |
6 | 6 | $includes = array( |
7 | | - 'skins/Chick.php' |
| 7 | + //files that needed to be included would go here |
8 | 8 | ); |
9 | 9 | $configs = array( |
10 | 10 | 'wgDefaultSkin' => 'chick' |
Index: trunk/phase3/maintenance/tests/selenium/SimpleSeleniumTestSuite.php |
— | — | @@ -7,7 +7,6 @@ |
8 | 8 | * $wgSeleniumTestConfigs['SimpleSeleniumTestSuite'] = 'SimpleSeleniumConfig::getSettings'; |
9 | 9 | * OR |
10 | 10 | * 2) Add the following to your Localsettings.php |
11 | | - * require_once( "$IP/skins/Chick.php" ); |
12 | 11 | * $wgDefaultSkin = 'chick'; |
13 | 12 | */ |
14 | 13 | class SimpleSeleniumTestSuite extends SeleniumTestSuite |
Index: trunk/phase3/maintenance/tests/selenium/SimpleSeleniumTestCase.php |
— | — | @@ -17,6 +17,10 @@ |
18 | 18 | $this->assertEquals( $correct, true ); |
19 | 19 | } |
20 | 20 | |
| 21 | + /* |
| 22 | + * All this test really does is verify that a global var was set. |
| 23 | + * It depends on $wgDefaultSkin = 'chick'; being set |
| 24 | + */ |
21 | 25 | public function testGlobalVariableForDefaultSkin() { |
22 | 26 | $this->open( $this->getUrl() . '/index.php?&action=purge' ); |
23 | 27 | $bodyClass = $this->getAttribute( "//body/@class" ); |