You are here

public function FeatureContext::openGroupStreamPage in Open Social 8

Same name and namespace in other branches
  1. 8.2 tests/behat/features/bootstrap/FeatureContext.php \FeatureContext::openGroupStreamPage()

Opens group stream page.

@Given /^(?:|I )am on the stream of group "(?P<group_title>[^"]+)"$/ @When /^(?:|I )go to the stream of group "(?P<group_title>[^"]+)"$/

File

tests/behat/features/bootstrap/FeatureContext.php, line 527

Class

FeatureContext
Defines application features from the specific context.

Code

public function openGroupStreamPage($group_title) {
  $group_id = $this
    ->getGroupIdFromTitle($group_title);
  $page = '/group/' . $group_id . '/stream';
  $this
    ->visitPath($page);
}