I am fed up of selenium constants which aren't properly defined by all files using...
[lhc/web/wiklou.git] / tests / selenium / suites / PreviewPageTestCase.php
index 3a79fbc..32206b9 100644 (file)
@@ -36,7 +36,7 @@ class PreviewPageTestCase extends SeleniumTestCase {
         $this->open( $this->getUrl() .
                 '/index.php?title=Main_Page&action=edit' );
         $this->getNewPage( $newPage );
-        $this->type( TEXT_EDITOR, $wikiText."" );
+        $this->type( SeleniumTestConstants::TEXT_EDITOR, $wikiText."" );
         $this->assertTrue($this->isElementPresent( "//*[@id='wpPreview']" ));
 
         $this->click( "wpPreview" );