/** * Fill store view. * * @param CmsPage $cms * @return void */ protected function fillStoreView(CmsPage $cms) { $this->openTab('page_information'); $storeViewField = $this->_rootElement->find($this->storeView, Locator::SELECTOR_CSS, 'multiselectgrouplist'); if ($storeViewField->isVisible() && !$cms->hasData('store_id')) { $storeViewField->setValue('All Store Views'); } }