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

Issue on writing text to Cucumber Java HTML Reports( example: scenario.write) #1349

Closed
pavanswt opened this issue Apr 22, 2018 · 9 comments
Closed

Comments

@pavanswt
Copy link

Description:

There is a bug in writing text to Cucumber Java HTML report(example: scenario.write), If you write text under @given step reports are not displaying.

If you write text under @when it is going under @given. That is one step before.

This issue occurs after migrating the Cucumber JVM from info.cukes to cucumber.io

Work Around:

use info.cukes Maven repository to get rid of this issue

info.cukes cucumber-java 1.2.5

Environment:

OS= Windows 7 and 10

Maven Repository

io.cucumber cucumber-java 2.3.1 test

Steps to Reproduce:

Attached sceen shot shows the steps to reproduce
cucumber-java-scenariowrite

@mlvandijk
Copy link
Member

@pavanswt Could you please paste your code, to make it easier for us to reproduce (without having to type it ourselves)?
Or better yet, you could provide a small project with your code and dependencies reproducing your error, that would make it easiest.

@pavanswt
Copy link
Author

pavanswt commented May 20, 2018 via email

@mpkorstanje
Copy link
Contributor

No worries. It has already been fixed.

@pavanswt
Copy link
Author

pavanswt commented May 20, 2018 via email

@pavanswt
Copy link
Author

pavanswt commented May 20, 2018 via email

@mpkorstanje
Copy link
Contributor

Please tell me what was the problem? how did you fix?Please tell me what was the problem? how did you fix?

If you look at the Github thread you'll see this:

image

You can click the link to see the commit that resolved the problem.

could you tell me the release date?

Releases are not made to any schedule. Right now you can use the snapshot version.

@pavanswt
Copy link
Author

pavanswt commented May 21, 2018 via email

@sureshkammari
Copy link

Is this available in latest adapter 4

@SachinB75
Copy link

SachinB75 commented Jun 26, 2019

scenario.write does not write to the Cucumber report on Jenkins. I am able to see the details printed on my local report though. Any help will be appreciated. I am trying to write some custom log messages or assert results under steps in the Cucumber report

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

5 participants