Ejemplo n.º 1
0
 /**
  * @When /^I visit (this channel)'s homepage$/
  */
 public function iVisitChannelHomepage(ChannelInterface $channel)
 {
     $this->channelContextSetter->setChannel($channel);
     $this->homePage->open();
 }
Ejemplo n.º 2
0
 /**
  * @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);
 }
Ejemplo n.º 3
0
 /**
  * @Given /^I am browsing (channel "([^"]*)")$/
  */
 public function iAmBrowsingChannel(ChannelInterface $channel)
 {
     $this->channelContextSetter->setChannel($channel);
 }