diff --git a/src/Yandex/Allure/Codeception/AllureCodeception.php b/src/Yandex/Allure/Codeception/AllureCodeception.php index 4d57e07..0c758c4 100644 --- a/src/Yandex/Allure/Codeception/AllureCodeception.php +++ b/src/Yandex/Allure/Codeception/AllureCodeception.php @@ -252,7 +252,7 @@ private function buildTestName($test) { $testName .= ' with data set #' . $this->testInvocations[$testFullName]; } } else if($test instanceof Gherkin) { - $testName = $test->getFeatureNode()->getTitle(); + $testName = $test->getScenarioNode()->getTitle(); } return $testName; }