Flowdock
method

output_type

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: ScreenshotHelper
output_type() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb, line 56
          def output_type
            # Environment variables have priority
            output_type = ENV["RAILS_SYSTEM_TESTING_SCREENSHOT"] || ENV["CAPYBARA_INLINE_SCREENSHOT"]

            # If running in a CI environment, default to simple
            output_type ||= "simple" if ENV["CI"]

            # Default
            output_type ||= "inline"

            output_type
          end
Register or log in to add new notes.