9 use Magento\Customer\Test\Page\CustomerAccountIndex;
10 use Magento\Cms\Test\Page\CmsIndex;
12 use Magento\Mtf\Constraint\AbstractConstraint;
13 use Magento\Mtf\ObjectManager;
14 use Magento\Mtf\System\Event\EventManagerInterface;
44 EventManagerInterface $eventManager,
61 $this->cmsIndex->open();
62 $loginCustomerOnFrontendStep = $this->objectManager->create(
63 \
Magento\Customer\Test\TestStep\LoginCustomerOnFrontendStep::class,
66 $loginCustomerOnFrontendStep->run();
67 $this->cmsIndex->getLinksBlock()->openLink(
'My Account');
68 $this->customerAccountIndex->getAccountMenuBlock()->openMenuItem(
'My Orders');
__construct(ObjectManager $objectManager, EventManagerInterface $eventManager, CmsIndex $cmsIndex, CustomerAccountIndex $customerAccountIndex)
loginCustomerAndOpenOrderPage(Customer $customer)