Hi,
For one of my story, I have define story file as below
Meta:
@storyName ReuseBitrate
GivenStories:EndToEnd.story
Scenario: Verifying ReuseBitrate functionality
Given Step1
Then Step2
And in BeforeAndAfter Story
@BeforeScenario
public void beforeScenario( @Named("storyName") String storyName) {
System.out.println("StoryName "+storyName)
}
The Story Name is printed as
ReuseBitrate
GivenStories:EndToEnd.story
I think this is because of no end of line character for @storyName
ReuseBitrate
Thansk
Ajay