Snapshots

<% if @grouped_by_test_class.blank? %>

Place `take_screenshot response` in your integration tests after a `response` object is populated and run the tests. Snapshots will appear below.

<% end %> <%= form_tag "", method: :get, class: "enable_javascript" do %> <%= label_tag :enable_javascript do %> <%= check_box_tag :enable_javascript, "true", params[:enable_javascript] == "true", onclick: "submit()" %> Open snapshots with JavaScript enabled (by default all JavaScript tags are removed) <% end %> <% end %> <% @grouped_by_test_class.each do |test_group, snapshots| %>

<%= test_group %>

<% end %>