/** * Run create gift registry type entity test. * * @param GiftRegistryType $giftRegistryType * @return void */ public function test(GiftRegistryType $giftRegistryType) { // Steps $this->giftRegistryIndex->open(); $this->giftRegistryIndex->getPageActions()->addNew(); $this->giftRegistryNew->getGiftRegistryForm()->fill($giftRegistryType); $this->giftRegistryNew->getPageActions()->save(); }