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

Screenshot is not captured even if gauge_screenshot is installed #77

Closed
sswaroopgupta opened this issue Nov 23, 2017 · 1 comment
Closed
Labels

Comments

@sswaroopgupta
Copy link
Contributor

sswaroopgupta commented Nov 23, 2017

Expected behavior
Whenever there is an error. Screenshots should be captured.

Actual behavior
Screenshot is not being captured when there is a timeout.

Steps to replicate

  • Run gauge-lsp-tests on windows
  • Getting the error
Error: spawnSync gauge_screenshot ENOENT
 F
        Failed Step: ensure code lens has details
        Specification: specs\execution.spec:19
        Error Message: Error: Timed out
        Stacktrace:
        Error: Timed out
            at Timeout.<anonymous> (C:\Users\sswaroop\AppData\Roaming\gauge\plugins\js\2.0.3.nightly-2017-11-23\src\test.js:42:23)
            at ontimeout (timers.js:469:11)
            at tryOnTimeout (timers.js:304:5)
            at Timer.listOnTimeout (timers.js:264:5)

Observe that screenshot is not captured

Version

Gauge version: 0.9.5.nightly-2017-11-23
Commit Hash: 51cfe8d

Plugins
-------
js (2.0.3.nightly-2017-11-23)
screenshot (0.0.1)
@sswaroopgupta sswaroopgupta changed the title should capture screenshot on failure Screenshot is not captured even if gauge_screenshot is installed Nov 24, 2017
@sriv
Copy link
Member

sriv commented Nov 27, 2017

fix should be in gauge nightly >= 27/11/2017

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

2 participants