/**
  * Creating Downloadable product with required fields only and assign it to the category
  *
  * @ZephyrId MAGETWO-13595
  * @return void
  */
 public function test()
 {
     $createProductPage = Factory::getPageFactory()->getCatalogProductIndex();
     $createProductPage->open();
     $createProductPage->getGridPageActionBlock()->addProduct('downloadable');
     $createProductPageNew = Factory::getPageFactory()->getCatalogProductNew();
     $productBlockForm = $createProductPageNew->getProductForm();
     $category = $this->product->getCategories()['category'];
     $productBlockForm->fill($this->product, null, $category);
     $createProductPageNew->getFormPageActions()->save();
     $createProductPageNew->getMessagesBlock()->assertSuccessMessage();
     $cachePage = Factory::getPageFactory()->getAdminCache();
     $cachePage->open();
     $cachePage->getActionsBlock()->flushMagentoCache();
     $cachePage->getMessagesBlock()->assertSuccessMessage();
     $this->assertOnBackend();
     $this->assertOnFrontend();
 }