public function FailureContext::prepare in Commerce Kickstart 7.2
@BeforeScenario
File
- tests/
behat/ features/ bootstrap/ FailureContext.php, line 19
Class
- FailureContext
- Defines application features from the specific context.
Code
public function prepare(BeforeScenarioScope $scope) {
$this->contexts['mink'] = $scope
->getEnvironment()
->getContext('Drupal\\DrupalExtension\\Context\\MinkContext');
$this->failurePath = $scope
->getEnvironment()
->getSuite()
->getSetting('failure_path');
}