Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extracting meta information for a scenario using test outcomes. #766

Closed
jaspreetmanchinda opened this issue Apr 18, 2017 · 1 comment
Closed

Comments

@jaspreetmanchinda
Copy link

Considering a scenario in feature file as below,

Scenario: Looking up the definition of 'apple'
Meta:
@suite smoke
Given the user is on the Wikionary home page
When the user looks up the definition of the word 'apple'
Then they should see the definition 'A common, round fruit produced by the tree Malus domestica, cultivated in temperate climates.'

now using TestOutcomes I want to extract meta information for specific scenario, but there is no such information in the outcomes.

@wakaleo
Copy link
Member

wakaleo commented Apr 18, 2017

So this is a question rather than a defect? If this is the case, StackOverflow is the preferred forum. Have you tried Serenity.getCurrentSession().getMetaData()

@wakaleo wakaleo closed this as completed Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants