diff --git a/spec/features/authorities_spec.rb b/spec/features/authorities_spec.rb index 7685cc3ba..3b432f4d3 100644 --- a/spec/features/authorities_spec.rb +++ b/spec/features/authorities_spec.rb @@ -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