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

Question about screenshots on serenity report #582

Closed
jacquecosta opened this issue May 28, 2020 · 2 comments
Closed

Question about screenshots on serenity report #582

jacquecosta opened this issue May 28, 2020 · 2 comments

Comments

@jacquecosta
Copy link

jacquecosta commented May 28, 2020

Looking at the report generated on template's project for protractor and cucumber, I have noticed this behaviour:

  • Following the screenshots's trail I had this result:
  1. Given Callie decides to use the Super Calculator
  2. Callie navigates to '/protractor-demo/'
  3. When she adds 19 and 23
  4. Callie enters a left operand of 19
  5. Callie enters a right operand of 23
  6. Callie confirms calculation
  7. Callie enters 19 into the left operand input
  8. Callie waits up to 5s until the left operand input does become visible
  9. Callie clicks on the left operand input
  10. Callie selects the + operator...

Resuming, after step 6 you have more details about step 3. So, the details of a scenario turns a bit confuse when 'read' only by the screenshots.

  • While in console the result is similar to:

Given Callie decides to use the Super Calculator
✓ Callie navigates to '/protractor-demo/'
When she adds 19 and 23
Callie enters a left operand of 19
✓ Callie enters 19 into the left operand input
✓ Callie waits up to 5s until the left operand input does become visible
✓ Callie clicks on the left operand input
✓ Callie selects the + operator
Callie enters a right operand of 23
✓ Callie enters 23 into the right operand input
Callie confirms calculation
✓ Callie clicks on the "Go" button
Then she should see that the result is 42
✓ Callie ensures that the text of the result does equal '42'

Are there a explanation about this or a way better to present screenshots (like only in Tasks calls or Step calls) ?

@jan-molak
Copy link
Member

jan-molak commented May 31, 2020

Thanks @jacquecosta, you're right, screenshots in the slideshow view seem to be out of order. @wakaleo and I will investigate this.

@jan-molak jan-molak added this to Ideas in Serenity/JS Board via automation May 31, 2020
@jan-molak jan-molak moved this from Ideas to In progress in Serenity/JS Board May 31, 2020
@jan-molak jan-molak added the bug label Jun 2, 2020
Serenity/JS Board automation moved this from In progress to Done Jun 2, 2020
@jan-molak
Copy link
Member

jan-molak commented Jun 2, 2020

Hey @jacquecosta - this issue is now fixed in @serenity-js/serenity-bdd v 2.8.1. Thanks for reporting it!

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

No branches or pull requests

2 participants