Skip to content

Commit a6156ae

Browse files
authored
fix wrong test names for gherkin tests (via #72)
1 parent f9bce40 commit a6156ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Yandex/Allure/Codeception/AllureCodeception.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ private function buildTestName($test) {
252252
$testName .= ' with data set #' . $this->testInvocations[$testFullName];
253253
}
254254
} else if($test instanceof Gherkin) {
255-
$testName = $test->getFeatureNode()->getTitle();
255+
$testName = $test->getScenarioNode()->getTitle();
256256
}
257257
return $testName;
258258
}

0 commit comments

Comments
 (0)