Пример #1
0
 public function testCustomerAccount()
 {
     $cstConf = self::getCustomerConfig('customers');
     foreach ($cstConf as $customer) {
         $customers = Mage::getModel('customer/customer')->getCollection()->addFieldToFilter('email', $customer['username']);
         $this->setCustomerAsLoggedIn($customers->getFirstItem());
         $pagesConf = self::getCustomerConfig('urls');
         $this->_helper->doGeneralTest($pagesConf, $this);
     }
 }
Пример #2
0
 public function testCategories()
 {
     $productConfig = self::getCatalogConfig('categories');
     $this->_helper->doGeneralTest($productConfig, $this);
 }
Пример #3
0
 public function testProducts()
 {
     $productConfig = self::getProductConfig('products');
     $this->_helper->doGeneralTest($productConfig, $this);
 }
 public function testRenderUrls()
 {
     $urlsConfig = self::getInteractiveConfig('urls');
     $this->_helper->doGeneralTest($urlsConfig, $this);
 }
Пример #5
0
 public function testGeneralAdmin()
 {
     $salesConfig = self::getAdminConfig('urls');
     $this->_helper->doGeneralTest($salesConfig, $this);
 }