/** * @group a * @guy OrdersTester\OrdersSteps */ public function AddBasketProductAmountYes(OrdersTester\OrdersSteps $I) { $I->wantTo('Verify Add To Basket Product Whith Zero Amount.'); $I->createProduct($nameProduct = 'Товарчик с нулевым складеке Yes.', $nameVariantProduct = NULL, $priceProduct = 1, $articleProduct = NULL, $amountProduct = 0, $categoryProduct = CreateCategoryOrdersPage::$CrtCatName1ForSearch); $I->SearchProductNameSelect($typeCategoryName = CreateCategoryOrdersPage::$CrtCatName1ForSearch, $typeProductName = $nameProduct); $I->click(\CreateOrderAdminPage::$CrtPButtAddToCart); $I->SearchProductInBascket($name = $nameProduct, $variant = $nameVariantProduct, $Price = '1', $totalPrice = '1', $Check = '1'); InitTest::ClearAllCach($I); }