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

Showing "Given,When,Then" steps in output of the tests #63

Closed
volkanogretmen opened this issue Jun 29, 2018 · 2 comments
Closed

Showing "Given,When,Then" steps in output of the tests #63

volkanogretmen opened this issue Jun 29, 2018 · 2 comments

Comments

@volkanogretmen
Copy link

volkanogretmen commented Jun 29, 2018

Hi all,

I started using cypress-cucumber-preprocessor recently and I'm really fond of it!

I have a question when executing the scenario's. I would like to see the actual "Given, When, Then" steps in the main output of the tests. It now shows the scenario titles in the output (also in the terminal) and the steps are somewhat hidden inside the actual step behind a log-command. Is this normal behaviour or am I missing something?

image

Note that I am using the "Given" step in the Background in the example above.

@lgandecki
Copy link
Collaborator

Hey, thanks!
:-)

Unfortunately, this is caused by:
#44

We don't have control over when cypress clears out things like local storage/sessions/cookies , having all steps treated as a separate scenario (to show nicely in the cypress UI) was causing cypress to reset the state between them, which was a no-go.
Once cypress allows for changing the way it behaves (which is coming, supposedly), we will be able to revert that change

@slavede
Copy link

slavede commented Sep 6, 2018

So is this feature now released with the latest version? If so, how can I see this 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

3 participants