Commit 1aea1330 authored by Rémy Coutable's avatar Rémy Coutable

Revert "Merge branch 'ml-perform-before-hooks-before-everything-else' into 'master'"

This reverts commit c976db76, reversing
changes made to bd3974dd.
parent bf0f387e
......@@ -66,23 +66,14 @@ module QA
metadata[:type] = :feature
end
config.before(:suite) do
config.before do
unless browser.rspec_configured
browser.rspec_configured = true
##
# Perform before hooks, which are different for CE and EE
#
begin
Runtime::Release.perform_before_hooks
rescue
saved = Capybara::Screenshot.screenshot_and_save_page
QA::Runtime::Logger.error("Screenshot: #{saved[:image]}") if saved&.key?(:image)
QA::Runtime::Logger.error("HTML capture: #{saved[:html]}") if saved&.key?(:html)
raise
end
Runtime::Release.perform_before_hooks
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment