/** * Runs Test Creation for StoreEntityTest * * @param Store $store * @return void */ public function test(Store $store) { //Steps: $this->storeIndex->open(); $this->storeIndex->getGridPageActions()->addStoreView(); $this->storeNew->getStoreForm()->fill($store); $this->storeNew->getFormPageActions()->save(); }
/** * Runs Test Creation for StoreEntityTest * * @param Store $store * @return void */ public function test(Store $store) { $this->markTestIncomplete('MAGETWO-48723'); //Steps: $this->storeIndex->open(); $this->storeIndex->getGridPageActions()->addStoreView(); $this->storeNew->getStoreForm()->fill($store); $this->storeNew->getFormPageActions()->save(); }
/** * Delete Store after test. * * @return void|null */ public function tearDown() { if (in_array($this->storeName, $this->skippedStores)) { return; } $storeName = explode("/", $this->storeName); $filter['store_title'] = end($storeName); $this->storeIndex->open(); $this->storeIndex->getStoreGrid()->searchAndOpen($filter); $this->storeNew->getFormPageActions()->delete(); $this->storeDelete->getStoreForm()->fillForm(['create_backup' => 'No']); $this->storeDelete->getFormPageActions()->delete(); }