getgauge / gauge-csharp

Csharp runner for Gauge
https://gauge.org
GNU General Public License v3.0
33 stars 21 forks source link

Should be able to capture screenshots in all hooks #142

Closed sswaroopgupta closed 6 years ago

sswaroopgupta commented 6 years ago

Actual behavior Captures screenshots in before and after step hooks only

Steps to replicate

Version

Gauge version: 1.0.1.nightly-2018-07-18
Commit Hash: e62f840

Plugins
-------
csharp (0.10.5.nightly-2018-07-19)

Blocks #137

BugDiver commented 6 years ago

Should be available in nightly >= 24-07-2018

sswaroopgupta commented 6 years ago

The html nightly does not have the required changes yet

sswaroopgupta commented 6 years ago

Replicable on version

Gauge version: 1.0.1.nightly-2018-07-26
Commit Hash: 25546b9

Plugins
-------
csharp (0.10.5.nightly-2018-07-24)
html-report (4.0.5.nightly-2018-07-25)
nehashri commented 6 years ago

@sguptatw Can you please eloborate on what is replicable on the version you have provided

sswaroopgupta commented 6 years ago

The steps and the behavior are the same as mentioned in the original issue.

The screenshots are displayed only for before and after step hooks, but not all hooks.

sswaroopgupta commented 6 years ago

May be related to https://github.com/getgauge/gauge-csharp/issues/134

sswaroopgupta commented 6 years ago

Verified with

Gauge version: 1.0.1.nightly-2018-08-01
Commit Hash: 6aa1ce2

Plugins
-------
csharp (0.10.5.nightly-2018-08-02)