9 use Magento\Cms\Test\Page\CmsIndex;
10 use Magento\Customer\Test\Page\CustomerAccountIndex;
11 use Magento\Wishlist\Test\Page\WishlistIndex;
12 use Magento\Mtf\Constraint\AbstractConstraint;
13 use Magento\Mtf\Fixture\InjectableFixture;
31 CustomerAccountIndex $customerAccountIndex,
32 WishlistIndex $wishlistIndex,
36 $cmsIndex->getLinksBlock()->openLink(
'My Account');
37 $customerAccountIndex->getAccountMenuBlock()->openMenuItem(
'My Wish List');
39 \PHPUnit\Framework\Assert::assertTrue(
40 $wishlistIndex->getWishlistBlock()->getProductItemsBlock()->getItemProduct(
$product)->isVisible(),
41 $product->getName() .
' is not visible on Wish List page.' 52 return 'Product is present in default Wish List.';
processAssert(CmsIndex $cmsIndex, CustomerAccountIndex $customerAccountIndex, WishlistIndex $wishlistIndex, InjectableFixture $product)