/** * @Then I should see the product :productName */ public function iShouldSeeTheProduct($productName) { Assert::same($productName, $this->updatePage->getProductName(), 'Product should have name %s, but it has %s'); }
/** * @Then I should be editing review of product :productName */ public function iShouldBeEditingReviewOfProduct($productName) { Assert::same($productName, $this->updatePage->getProductName(), 'Product should have name %s, but it has %s'); }