X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/29d322c364dcbe5b1adf386d51132296b5809604..b0348093f8877d2f59f153bf35e87ba411f4004b:/test/application_system_test_case.rb diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index 496f37c16..852f270b6 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -46,4 +46,8 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase def within_content_body(&) within("#content > .content-body", &) end + + def within_content_heading(&) + within("#content > .content-heading", &) + end end