Sha256: 9cdc679327a9aea93947360dce065078c394f8a42d27dc39e468f0c67b816bf5

Contents?: true

Size: 398 Bytes

Versions: 24

Compression:

Stored size: 398 Bytes

Contents

# frozen_string_literal: true

# :markup: markdown

module ActionDispatch
  module SystemTesting
    module TestHelpers
      module SetupAndTeardown # :nodoc:
        def before_teardown
          take_failed_screenshot
        ensure
          super
        end

        def after_teardown
          Capybara.reset_sessions!
        ensure
          super
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
actionpack-8.0.2 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-8.0.1 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-8.0.0.1 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-7.2.2.1 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-8.0.0 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-7.2.2 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-8.0.0.rc2 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-7.2.1.2 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-8.0.0.rc1 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-7.2.1.1 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-8.0.0.beta1 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
omg-actionpack-8.0.0.alpha9 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
omg-actionpack-8.0.0.alpha8 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
omg-actionpack-8.0.0.alpha7 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
omg-actionpack-8.0.0.alpha4 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
omg-actionpack-8.0.0.alpha3 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
omg-actionpack-8.0.0.alpha2 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
omg-actionpack-8.0.0.alpha1 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-7.2.1 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-7.2.0 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb