9 use Magento\Mtf\Constraint\AbstractConstraint;
10 use Magento\Customer\Test\Page\Adminhtml\CustomerIndex;
11 use Magento\Customer\Test\Page\Adminhtml\CustomerIndexEdit;
25 public function processAssert(CustomerIndexEdit $customerEditPage, CustomerIndex $customerGridPage)
27 $customerEditPage->getPageActionsBlock()->back();
28 \PHPUnit\Framework\Assert::assertTrue(
29 $customerGridPage->getCustomerGridBlock()->isVisible(),
30 'Clicking on "Back" button does not redirect to customers grid.' 41 return '"Back" button on customer edit page redirects to customers grid.';