|
@@ 60-66 (lines=7) @@
|
| 57 |
|
|
| 58 |
|
private function decorateScenarioSteps(ScenarioInterface $undecoratedScenario){ |
| 59 |
|
$decoratedSteps = array(); |
| 60 |
|
foreach ($undecoratedScenario->getSteps() as $step){ |
| 61 |
|
$decoratedSteps[] = new PlaceholderContainerStepNode( |
| 62 |
|
$step, |
| 63 |
|
$this->configKey, |
| 64 |
|
$this->sectionKey, |
| 65 |
|
$this->variant); |
| 66 |
|
} |
| 67 |
|
return new ScenarioNode( |
| 68 |
|
$undecoratedScenario->getTitle(), |
| 69 |
|
$undecoratedScenario->getTags(), |
|
@@ 89-95 (lines=7) @@
|
| 86 |
|
} |
| 87 |
|
$undecoratedBackground = $feature->getBackground(); |
| 88 |
|
$decoratedSteps = array(); |
| 89 |
|
foreach ($undecoratedBackground->getSteps() as $step){ |
| 90 |
|
$decoratedSteps[] = new PlaceholderContainerStepNode( |
| 91 |
|
$step, |
| 92 |
|
$this->configKey, |
| 93 |
|
$this->sectionKey, |
| 94 |
|
$this->variant); |
| 95 |
|
} |
| 96 |
|
$decoratedBackground = new BackgroundNode( |
| 97 |
|
$undecoratedBackground->getTitle(), |
| 98 |
|
$decoratedSteps, |