10 use Magento\Cms\Test\Page\CmsIndex;
12 use Magento\Wishlist\Test\Page\WishlistIndex;
13 use Magento\Wishlist\Test\Page\WishlistShare;
14 use Magento\Mtf\TestCase\Injectable;
111 $this->objectManager->create(
112 \
Magento\Customer\Test\TestStep\LoginCustomerOnFrontendStep::class,
115 $this->objectManager->create(
116 \
Magento\Wishlist\Test\TestStep\AddProductsToWishlistStep::class,
119 $this->wishlistIndex->getMessagesBlock()->waitSuccessMessage();
120 $this->wishlistIndex->getWishlistBlock()->clickShareWishList();
121 $this->cmsIndex->getCmsPageBlock()->waitPageInit();
122 $this->wishlistShare->getSharingInfoForm()->fillForm($sharingInfo);
123 $this->wishlistShare->getSharingInfoForm()->shareWishlist();
__prepare(Customer $customer, CatalogProductSimple $product)
__inject(CmsIndex $cmsIndex, WishlistIndex $wishlistIndex, WishlistShare $wishlistShare)
test(Customer $customer, CatalogProductSimple $product, array $sharingInfo)