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

added support for capturing screenshot in Step, getgauge/gauge#632 #95

Merged
merged 5 commits into from
Jul 30, 2018

Conversation

shubhamsc
Copy link
Contributor

No description provided.

@ghost ghost assigned shubhamsc Jul 19, 2018
@ghost ghost added the in progress label Jul 19, 2018
@cla-bot cla-bot bot added the cla-signed label Jul 19, 2018
@@ -71,6 +72,7 @@ def process_step_execution_start_request(message)

def process_step_execution_end_request(message)
response = handle_hooks_execution(MethodCache.get_after_step_hooks, message,message.stepExecutionEndingRequest.currentExecutionInfo)
response.executionStatusResponse.executionResult.screenShot += Gauge::GaugeScreenshot.instance.pending_screenshot
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i know I said we only need it for step ending. But turns out we need it for other hooks as well, just like messages. see getgauge/gauge-csharp#142

@ghost ghost assigned sriv Jul 30, 2018
@sriv sriv merged commit a14cd5c into master Jul 30, 2018
@ghost ghost removed the in progress label Jul 30, 2018
@sriv sriv deleted the screenshot_api branch July 30, 2018 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants