/** * @Then /^I should be notified that prices in all channels must be defined for the (\d)(?:st|nd|rd|th) variant$/ */ public function iShouldBeNotifiedThatPricesInAllChannelsMustBeDefinedForTheVariant($position) { Assert::same($this->generatePage->getPricesValidationMessage($position - 1), 'You must define price for every channel.'); }