10 use Magento\Newsletter\Test\Page\Adminhtml\SubscriberIndex;
11 use Magento\Mtf\Constraint\AbstractConstraint;
28 SubscriberIndex $subscriberIndex
34 'status' =>
'Subscribed',
37 $subscriberIndex->open();
38 \PHPUnit\Framework\Assert::assertTrue(
39 $subscriberIndex->getSubscriberGrid()->isRowVisible($filter),
40 'Customer with email \'' .
$customer->getEmail() .
'\' is absent in Newsletter Subscribers grid.
' 49 public function toString() 51 return "Customer is subscribed to newsletter";
processAssert(Customer $customer, SubscriberIndex $subscriberIndex)