getgauge / html-report

HTML report generation plugin for Gauge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

screenshot container should be removed when `screenshot_on_failure` set to false

tanneerumahesh opened this issue · comments

Describe the bug

  • screenshot container should be removed when screenshot_on_failure set to false

Steps to reproduce:

  1. set screenshot_on_failure = false in config
  2. make sure there is a test failure
  3. run tests

Expected: no screenshot container should be added to HTML report

Actual: screenshot container added to HTML report

Screenshot 2020-09-23 at 16 46 05

What command(s) did you run when you found the bug?

gauge run specs

Output, stack trace or logs related to the bug

Versions

Gauge (Output of gauge -v)

Gauge version: 1.1.4
Plugins

html-report (4.0.12)
java (0.7.10)
python (0.3.11)
screenshot (0.0.1)
ts (0.0.5)

Node.js/Java/Python/.Net/Ruby version

Python 3.8.2

Operating System information

Mac OS

IDE information

VS code