Пример #1
0
 /**
  * Navigates to the specified page in specified area.<br>
  * Page identifier must be described in the UIMap.
  *
  * @param string $area Area identifier (by default = 'frontend')
  * @param string $page Page identifier
  * @param bool $validatePage
  *
  * @return Mage_Selenium_TestCase
  */
 public function goToArea($area = 'frontend', $page = '', $validatePage = true)
 {
     $this->_configHelper->setArea($area);
     if ($page == '') {
         $areaConfig = $this->_configHelper->getAreaConfig();
         $page = $areaConfig['base_page_uimap'];
     }
     $this->navigate($page, $validatePage);
     return $this;
 }