Пример #1
0
 /**
  * @covers Mage_Selenium_Helper_Config::getBasePath
  */
 public function testGetBasePath()
 {
     $configHelper = new Mage_Selenium_Helper_Config($this->_config);
     $configHelper->setApplication('mage');
     $configHelper->setArea('admin');
     $uimapPath = $configHelper->getBasePath();
     $this->assertInternalType('string', $uimapPath);
     $this->assertSame($uimapPath, 'admin');
 }
Пример #2
0
 /**
  * Set current area
  *
  * @param string $name
  *
  * @return Mage_Selenium_TestCase
  */
 public function setArea($name)
 {
     $this->_configHelper->setArea($name);
     return $this;
 }