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

Serenity report - The report doesn't contain all the examples provided for the Scenario Outline #421

Closed
rakeshnambiar opened this issue Jan 27, 2020 · 6 comments

Comments

@rakeshnambiar
Copy link

rakeshnambiar commented Jan 27, 2020

The report doesn't contain all the examples provided for the Scenario Outline. It's just showing the last example data in the report. Due to this, in case the test is failed for any other data, still, the report says 100% PASS for multiple browsers (in case the tests are running on multiple browsers).

How to reproduce it:
Run the test for a single feature and the feature must contain a single scenario outline with multiple data in the example section.

Run command user:
npm install-test

@jan-molak
Copy link
Member

Hi @rakeshnambiar and thanks for the report!

Am I assuming correctly that you're using version 1.x of Serenity/JS? If that's the case then you've probably encountered #39 (there's a workaround proposed in that ticket too).

Serenity/JS v2 comes with a new implementation of the Cucumber adapter, which supports scenario outlines without any workarounds. Check out the template repo.

Does this help?

@rakeshnambiar
Copy link
Author

@jan-molak yes - you are right. I am still on version 1.x. I will check #39

@jan-molak
Copy link
Member

I'll close this ticket for now; please feel free to re-open it if the workaround doesn't help or you find a similar issue in 2.x

@rakeshnambiar
Copy link
Author

Thanks @jan-molak it's now worked through the way you recommended on the ticket #39 . I will try the latest version and update you in case the issue still exists.

@jan-molak
Copy link
Member

Brilliant, thanks for letting me know, @rakeshnambiar!

@rakeshnambiar
Copy link
Author

@jan-molak another question on the same context. Is it possible to use the new report with version 1.x ? Because I have already some test suites developed in version 1 using JavaScript without screenplay.

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