Expose GitLab QA failure screenshots for EE hooks
What does this MR do?
This MR makes it possible to take screenshots when GitLab QA before hook in EE fails (adding a license key)
Capybara is fully capable of running outside of the RSpec test examples. This is what we use for GitLab QA, because we use Capybara::DSL
in POROs outside of RSpec. Capybara Screenshot however hooks into RSpec to take a screenshot when test example fails, so outside of the RSpec we need to call it manually.