bbc / wraith

Wraith — A responsive screenshot comparison tool

Home Page:http://bbc-news.github.io/wraith/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'Latest' command is missing creating the directory structure

NetoBuenrostro opened this issue · comments

https://github.com/BBC-News/wraith/blob/df0abb4ffccded412d118f04988443ea76fa1479/lib/wraith/cli.rb#L158

  desc "latest [config_name]", "Capture new shots to compare with baseline"
  def latest(config)
    within_acceptable_limits do
      logger.info Wraith::Validate.new(config).validate("latest")
      reset_shots(config)
+      setup_folders(config)
      save_images(config, true)
      copy_base_images(config)
      crop_images(config)
      compare_images(config)
      generate_thumbnails(config)
      generate_gallery(config)
    end
  end

This looks like a duplicate of #546.