/** * Create CMS Block. * * @param CmsBlock $cmsBlock * @return void */ public function test(CmsBlock $cmsBlock) { // Steps $this->cmsBlockIndex->open(); $this->cmsBlockIndex->getGridPageActions()->addNew(); $this->cmsBlockNew->getBlockForm()->fill($cmsBlock); $this->cmsBlockNew->getFormPageActions()->save(); }