Commit 3cddb819 authored by Andrejs Cunskis's avatar Andrejs Cunskis

Do not skip regenerated report move

parent 06d92b60
......@@ -65,11 +65,10 @@ RSpec.configure do |config|
end
config.after(:suite) do |suite|
# If any tests failed, leave the resources behind to help troubleshoot
next if suite.reporter.failed_examples.present?
QA::Resource::ReusableProject.remove_all_via_api!
QA::Tools::KnapsackReport.move_regenerated_report if QA::Runtime::Env.knapsack?
# If any tests failed, leave the resources behind to help troubleshoot
QA::Resource::ReusableProject.remove_all_via_api! unless suite.reporter.failed_examples.present?
end
config.expect_with :rspec do |expectations|
......
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