Sha256: bb93ee4eb1622fec04d898bded9048eb1b79cc76d57e3902f5abd0ae1c7d87b9
Contents?: true
Size: 1.2 KB
Versions: 2
Compression:
Stored size: 1.2 KB
Contents
# Add the `screenshot` method to ActionDispatch::IntegrationTest module Capybara module Screenshot module Diff module TestMethods type name_entity = (Symbol | String) type path_entity = (string | Pathname) @screenshot_counter: Numeric? @screenshot_group: String? @screenshot_section: String? @test_screenshot_errors: Array[top]? @test_screenshots: Array[[Array[String]?, String, ImageCompare]]? def initialize: (*untyped) -> untyped def group_parts: () -> Array[String] def build_full_name: (name_entity name) -> String def schedule_match_job: ([untyped, untyped, untyped] job) -> true def screenshot_dir: () -> String def screenshot_section: (name_entity name) -> void def screenshot_group: (name_entity? name) -> void def screenshot: (name_entity name, ?skip_stack_frames: ::Integer, **untyped options) -> boolish def assert_image_not_changed: (String caller, String name, ImageCompare comparison) -> ::String? private def build_screenshot_matches_job: (String, Drivers::BaseDriver::options_entity) -> ScreenshotMatcher::job_entity? end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capybara-screenshot-diff-1.8.3 | sig/capybara/screenshot/diff/test_methods.rbs |
capybara-screenshot-diff-1.8.2 | sig/capybara/screenshot/diff/test_methods.rbs |