public function FeatureContext::gatherContexts in Pantheon Advanced Page Cache 8
@BeforeScenario
File
- tests/
behat/ helper_classes/ Contexts/ FeatureContext.php, line 40
Class
- FeatureContext
- Define application features from the specific context.
Namespace
PantheonSystems\CDNBehatHelpers\ContextsCode
public function gatherContexts(BeforeScenarioScope $scope) {
$environment = $scope
->getEnvironment();
$this->minkContext = $environment
->getContext('Drupal\\DrupalExtension\\Context\\MinkContext');
$this->DrupalContext = $environment
->getContext('Drupal\\DrupalExtension\\Context\\DrupalContext');
}