instance method html_from_env?

Ruby on Rails 7.1.6

Since v7.1.6 Private

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

html_from_env?()

No documentation comment.

Source
# File actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb, line 54
          def html_from_env?
            ENV["RAILS_SYSTEM_TESTING_SCREENSHOT_HTML"] == "1"
          end

Defined in actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb line 54 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::SystemTesting::TestHelpers::ScreenshotHelper

Type at least 2 characters to search.

↑↓ navigate · open · esc close