mattheworiordan / capybara-screenshot

Automatically save screen shots when a Capybara scenario fails
MIT License
1.02k stars 168 forks source link

is html_link_reporter url configurable via a .yml file? #262

Open shamca65 opened 5 years ago

shamca65 commented 5 years ago

From: lib/capybara-screenshot/rspec/html_link_reporter.rb : url = URI.escape("file://#{path}")

is url configurable via a .yml file?

Current output is: file:///var/lib/jenkins/agent/workspace/tmp/tmp/Pelican-CI/196/screenshot_2019-07-11-15-29-02.049.html

Preferred: <>/<> e.g. http://jenkins/project1/build8/something.jpg