public function iAddQuantityOfProductsToTheCart($quantity, ProductInterface $product) { $this->productShowPage->open(['slug' => $product->getSlug()]); $this->productShowPage->addToCartWithQuantity($quantity); }