Skip to content

Commit

Permalink
fix wrong test names for gherkin tests (via #72)
Browse files Browse the repository at this point in the history
  • Loading branch information
DolgushinG authored Jun 4, 2021
1 parent f9bce40 commit a6156ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Yandex/Allure/Codeception/AllureCodeception.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a6156ae

Please sign in to comment.