8 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductEdit;
9 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductIndex;
10 use Magento\Mtf\Constraint\AbstractConstraint;
11 use Magento\Mtf\Fixture\FixtureFactory;
12 use Magento\Mtf\Fixture\FixtureInterface;
13 use Magento\Mtf\ObjectManager;
14 use Magento\Mtf\System\Event\EventManagerInterface;
49 EventManagerInterface $eventManager,
66 CatalogProductIndex $productGrid,
67 CatalogProductEdit $productPage
70 $this->objectManager->get(\
Magento\Catalog\Test\Constraint\AssertProductForm::class)->processAssert(
89 $productData[
'quantity_and_stock_status'][
'qty'] -= $checkoutDataQty;
103 return 'Product qty was decreased after placing an order.';
__construct(ObjectManager $objectManager, EventManagerInterface $eventManager, FixtureFactory $fixtureFactory)
processAssert(OrderInjectable $order, CatalogProductIndex $productGrid, CatalogProductEdit $productPage)
getProduct(OrderInjectable $order, $index=0)