Example #1
0
 /**
  * Fill websites tab.
  *
  * @param FixtureInterface $product
  * @return void
  */
 protected function fillWebsitesTab(FixtureInterface $product)
 {
     if (!$this->isWebsiteTabVisible()) {
         return;
     }
     $data = $product->hasData('website_ids') ? $product->getWebsiteIds() : ['Main Website'];
     $this->openTab('websites');
     $this->getTabElement('websites')->fillFormTab($data);
 }