/** * @When /^I visit (this channel)'s homepage$/ */ public function iVisitChannelHomepage(ChannelInterface $channel) { $this->channelContextSetter->setChannel($channel); $this->homePage->open(); }
/** * @When I change my current channel to :channel */ public function iChangeMyCurrentChannelTo(ChannelInterface $channel) { $this->channelContextSetter->setChannel($channel); }