9 use Magento\Mtf\TestCase\Injectable;
10 use Magento\Mtf\Fixture\FixtureFactory;
11 use Magento\Mtf\Client\BrowserInterface;
13 use Magento\Catalog\Test\Page\Product\CatalogProductView;
91 $this->objectManager->create(
92 \
Magento\Customer\Test\TestStep\LoginCustomerOnFrontendStep::class,
96 $this->objectManager->create(
97 \
Magento\Customer\Test\TestStep\LogoutCustomerOnFrontendStep::class,
112 $createProductsStep = $this->objectManager->create(
113 \
Magento\Catalog\Test\TestStep\CreateProductsStep::class,
117 return $createProductsStep->run()[
'products'];
128 $addProductsToCart = $this->objectManager->create(
129 \
Magento\Checkout\Test\TestStep\AddProductsToTheCartStep::class,
132 $addProductsToCart->run();
addProductsToCart(array $products)
test($products, Customer $customer)
__inject(BrowserInterface $browser, FixtureFactory $fixtureFactory, CatalogProductView $catalogProductView)
createProducts($products)