Is there a way to take a screenshot when before or after :context hook fails in rspec
I’ve implemented screenshot capturing for my automation project using rspec/capybara.
I was expecting capybara to take a screenshot each time a test fails, no matter where it fails (in preconditions or during test execution or in postconditions).
Is there a way to take a screenshot when before or after :context hook fails in rspec
I’ve implemented screenshot capturing for my automation project using rspec/capybara.
I was expecting capybara to take a screenshot each time a test fails, no matter where it fails (in preconditions or during test execution or in postconditions).
Is there a way to take a screenshot when before or after :context hook fails in rspec
I’ve implemented screenshot capturing for my automation project using rspec/capybara.
I was expecting capybara to take a screenshot each time a test fails, no matter where it fails (in preconditions or during test execution or in postconditions).
Is there a way to take a screenshot when before or after :context hook fails in rspec
I’ve implemented screenshot capturing for my automation project using rspec/capybara.
I was expecting capybara to take a screenshot each time a test fails, no matter where it fails (in preconditions or during test execution or in postconditions).