/** * @When /^I visit (this channel)'s homepage$/ */ public function iVisitChannelHomepage(ChannelInterface $channel) { $this->channelContextSetter->setChannel($channel); $this->homePage->open(); }
/** * @When /^I (?:am browsing|start browsing|try to browse|browse) (that channel)$/ * @When /^I (?:am browsing|start browsing|try to browse|browse) (?:|the )("[^"]+" channel)$/ * @When /^I (?:am browsing|start browsing|try to browse|browse) (?:|the )(channel "[^"]+")$/ */ public function iBrowseChannel($channel) { $this->channelContextSetter->setChannel($channel); }
/** * @Given /^I am browsing (channel "([^"]*)")$/ */ public function iAmBrowsingChannel(ChannelInterface $channel) { $this->channelContextSetter->setChannel($channel); }