Skip to content

Commit

Permalink
Revert "Don't include authority detail page in percy"
Browse files Browse the repository at this point in the history
This reverts commit bdc9913.
  • Loading branch information
mlandauer committed Feb 19, 2024
1 parent d510b46 commit d82a0cc
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions spec/features/authorities_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,13 @@
end
end

# Commented out the percy snapshot for the authority detail page because it contains
# graphs which I haven't managed to get to render correctly on percy yet. So, to
# avoid confusion, don't include them
#
# it "renders the page", js: true do
# # Wait for javascript graph drawing to finish
# find("#applications-chart .chart-line.chart-clipping-above")
# find("#comments-chart .chart-line.chart-clipping-above")
# page.percy_snapshot("Authority")
# end
# rubocop:disable RSpec/NoExpectationExample
it "renders the page", js: true do
# Wait for javascript graph drawing to finish
find("#applications-chart .chart-line.chart-clipping-above")
find("#comments-chart .chart-line.chart-clipping-above")
page.percy_snapshot("Authority")
end
# rubocop:enable RSpec/NoExpectationExample
end
end

0 comments on commit d82a0cc

Please sign in to comment.