diff --git a/spec/system/admin/reports/users_and_enterprises_spec.rb b/spec/system/admin/reports/users_and_enterprises_spec.rb index b9f8f0c0dc..858ed2ec6e 100644 --- a/spec/system/admin/reports/users_and_enterprises_spec.rb +++ b/spec/system/admin/reports/users_and_enterprises_spec.rb @@ -13,7 +13,7 @@ describe "Users & Enterprises reports" do end it "displays the report" do - find("[type='submit']").click + click_button 'Go' expect(page.find("table.report__table thead tr").text).to have_content([ "USER",