Class: Spec::Ui::MasterScreenshotFormatter
- Inherits:
-
ScreenshotFormatter
- Object
- Runner::Formatter::HtmlFormatter
- ScreenshotFormatter
- Spec::Ui::MasterScreenshotFormatter
- 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
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 |
#screenshot ⇒ Object
152 153 |
# File 'lib/spec/ui/formatter.rb', line 152 def screenshot end |