/** * @Given /^I (?:remove|removed) product "([^"]+)" from the cart$/ */ public function iRemoveProductFromTheCart($productName) { $this->summaryPage->open(); $this->summaryPage->removeProduct($productName); }