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

Log files are created in top project folder for failed scenarios #252

Closed
mikhaillopandia opened this issue Nov 21, 2017 · 1 comment
Closed
Assignees

Comments

@mikhaillopandia
Copy link
Contributor

Meta

Howitzer Version: 2.1.0
Driver and browser information: selenium 3.7 ChromeDriver 2.33 Chrome 62

Expected Behavior

Log files are always created in /log folder

Actual Behavior

If there is an error occurred, .png and .html prove files are created in the root project folder

Steps to reproduce

  1. Install Howitzer v2.1.0
  2. Create new project or update old one with new gem
  3. Make at least one Scenario fails
  4. Set following settings in default.yml:
    driver: selenium
    selenium_browser: chrome
  5. Run test with "rake features"
  6. See that logs have been created in your root project folder

As far as I understand,

Capybara.save_path = Howitzer.log_dir

should be applied for for all drivers in capybara.rb, but not only for headless_chrome and phantomjs.

@alexey-voronenko
Copy link
Contributor

In master 0214a0b

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

No branches or pull requests

2 participants