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

Even when there are multiple scenarios after scenario screenshot is showing only one #1145

Closed
sswaroopgupta opened this issue Aug 9, 2018 · 1 comment
Labels

Comments

@sswaroopgupta
Copy link
Contributor

Expected behavior
All the after scenario screenshots should be visible

Actual behavior
Only one of the after scenario screenshot is visible

Steps to replicate

  • Create a gauge-js project
  • Add screenshots in
beforeSuite(function(){
  gauge.screenshot()
})

beforeSpec(function(){
  gauge.screenshot()
})

beforeScenario(function(){
  gauge.screenshot()
})

beforeStep(function(){
  gauge.screenshot()
})

afterSuite(function(){
  gauge.screenshot()
})

afterSpec(function(){
  gauge.screenshot()
})

afterScenario(function(){
  gauge.screenshot()
})

afterStep(function(){
  gauge.screenshot()
})
  • Run all the scenarios in the spec from VSCode.

The screenshot of after scenario is shown only once

Version

gauge-0.0.7.nightly-2018-08-08.vsix

Blocks getgauge/gauge-vscode#276

@sswaroopgupta
Copy link
Contributor Author

Working as expected in gauge-0.0.7.nightly-2018-08-08.vsix

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

No branches or pull requests

1 participant