Class: Spec::Ui::MasterScreenshotFormatter

Inherits:
ScreenshotFormatter
  • Object
show all
Defined in:
lib/spec/ui/formatter.rb

Overview

This formatter produces the same HTML as ScreenshotFormatter, except that it doesn’t save screenshot PNGs and browser snapshot HTML source to disk. It is meant to be used from a Spec::Distributed master

Instance Method Summary collapse

Methods inherited from ScreenshotFormatter

#absolute_html_path, #absolute_png_path, #ensure_dir, #ensure_dir!, #extra_failure_content, #global_scripts, #global_styles, #img_div, #initialize, #relative_html_path, #relative_png_path, #take_screenshot_of

Methods included from ScreenshotSaver

#save_screenshot

Constructor Details

This class inherits a constructor from Spec::Ui::ScreenshotFormatter

Instance Method Details

#save_html(browser) ⇒ Object



155
156
# File 'lib/spec/ui/formatter.rb', line 155

def save_html(browser)
end

#screenshotObject



152
153
# File 'lib/spec/ui/formatter.rb', line 152

def screenshot
end