Skip to content

Commit

Permalink
Add missing MainContextAwareTrait to FeatureContext
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Rainville committed Aug 13, 2019
1 parent 34b5a43 commit 2f70fd3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Behat/Context/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@

use Behat\Mink\Element\NodeElement;
use DNADesign\Elemental\Tests\Behat\Context\FeatureContext as BaseFeatureContext;
use SilverStripe\BehatExtension\Context\MainContextAwareTrait;

if (!class_exists(BaseFeatureContext::class)) {
return;
}

class FeatureContext extends BaseFeatureContext
{
use MainContextAwareTrait;

/**
* @Then /^I should( not |\s+)see the thumbnail image for block (\d+)$/i
*
Expand Down

0 comments on commit 2f70fd3

Please sign in to comment.