Skip to content

Commit

Permalink
Add preview page to percy.io
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Dec 14, 2023
1 parent d249c2f commit 202335f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/features/comment_to_authority_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@
end
end

# rubocop:disable RSpec/NoExpectationExample
it "renders a snapshot for a visual diff", js: true do
page.percy_snapshot("Comment preview")
end
# rubocop:enable RSpec/NoExpectationExample

it "is not immediately publically visible in the comments section" do
visit(application_path(application))
within("#comments") do
Expand Down

0 comments on commit 202335f

Please sign in to comment.