Skip to content

Fix2 build test name for gherkin#72

Merged
baev merged 3 commits intoallure-framework:masterfrom
DolgushinG:fix2_buildTestName_for_gherkin
Jun 4, 2021
Merged

Fix2 build test name for gherkin#72
baev merged 3 commits intoallure-framework:masterfrom
DolgushinG:fix2_buildTestName_for_gherkin

Conversation

@DolgushinG
Copy link
Contributor

Recently, I wrote about problem and how fixed it, but i made mistake , I need wrote $test->getScenarioNode() instead $test->getFeatureNode.
I am so sorry, it is so stupid (

SOLUTION
if you change this
$testName = $test->getMetadata()->getFeature();
to this
$testName = $test->getScenarioNode()->getTitle();

@DolgushinG
Copy link
Contributor Author

@baev

@DolgushinG
Copy link
Contributor Author

@baev could you please merge my PR ? thank a lot

@baev baev added the type:bug label Jun 4, 2021
@baev baev merged commit a6156ae into allure-framework:master Jun 4, 2021
@baev
Copy link
Member

baev commented Jun 4, 2021

@DolgushinG thanks!

fixed and released as 1.5.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments