X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aebacc88de18c24c583a12b589eb98cf0b826627..2edceb4b613c572ca330e5bb1fcd9974f23119d5:/test/application_system_test_case.rb diff --git a/test/application_system_test_case.rb b/test/application_system_test_case.rb index 0ddb8a87a..76c5469b2 100644 --- a/test/application_system_test_case.rb +++ b/test/application_system_test_case.rb @@ -45,4 +45,8 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase def within_content_body(&) within("#content > .content-body", &) end + + def within_content_heading(&) + within("#content > .content-heading", &) + end end