/** * @Then the :shippingMethodName shipping method should be available for the :channel channel */ public function theShippingMethodShouldBeAvailableForTheChannel($shippingMethodName, ChannelInterface $channel) { $this->updatePage->open(['id' => $channel->getId()]); Assert::true($this->updatePage->isShippingMethodChosen($shippingMethodName), sprintf('Shipping method %s should be selected but it is not', $shippingMethodName)); }