Module: Spec
- Defined in:
- lib/selenium/rspec/rspec_extensions.rb
Overview
Monkey-patch RSpec Example Group so that we can track whether an example already failed or not in an after(:each) block
useful to only capture Selenium screenshots when a test fails
Only changed execution_error to be an instance variable (in lieu of a local variable).
Defined Under Namespace
Modules: Example