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

Can I add plain text to steps in a feature file? Like addContext() in mochawesome! #663

Closed
sadhishsk opened this issue Jan 13, 2022 · 1 comment

Comments

@sadhishsk
Copy link

sadhishsk commented Jan 13, 2022

Sample Mochawesome AddContext() code to attach any plain text with a step

Have this commands.js => cy.once('test:after:run', test => addContext({ test }, { title, value }));

I can add any text in the report/json/html by simply calling the above function like cy.addReportLog('Current is :', Current);

Do we have any option to add plain text (Show Info) to a step in cucumber json/report?

@sadhishsk sadhishsk changed the title Can I add plain text to steps in a feature file? Like addContext() in mochaawesome! Can I add plain text to steps in a feature file? Like addContext() in mochawesome! Jan 13, 2022
@badeball
Copy link
Owner

Due to personal reasons, the previous maintainers of this package are stepping down and handing the reigns over to me, a long-time contributor to the project and a user of it myself. This is a responsibility I'm very excited about. Furthermore, I'd like to thank @lgandecki ++ for all the work that they've done so far.

Read more about the transfer of ownership here.

The repository has however moved and all outstanding issues are being closed. This is not a reflection of the perceived importance of your reported issue. However, if after upgrading to the new version, you still find there to be an issue, feel free to open up another ticket or comment below. Please make sure to read CONTRIBUTING.md before doing so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants