mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
parent
0df16e4773
commit
c0913ab723
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ RSpec.configure do |config|
|
||||||
example_filename += '.html'
|
example_filename += '.html'
|
||||||
if RSpec.current_example.exception.present?
|
if RSpec.current_example.exception.present?
|
||||||
save_page(example_filename)
|
save_page(example_filename)
|
||||||
save_screenshot(example_screenshotname)
|
save_screenshot(example_screenshotname) # rubocop:disable Lint/Debugger
|
||||||
# remove the file if the test starts working again
|
# remove the file if the test starts working again
|
||||||
else
|
else
|
||||||
File.unlink(example_filename) if File.exist?(example_filename)
|
File.unlink(example_filename) if File.exist?(example_filename)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue