示例#1
0
 /**
  * @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);
 }
示例#3
0
 /**
  * @Given /^I am browsing (channel "([^"]*)")$/
  */
 public function iAmBrowsingChannel(ChannelInterface $channel)
 {
     $this->channelContextSetter->setChannel($channel);
 }