require 'application_system_test_case' class RegistrarAreaXmlConsolesTest < ApplicationSystemTestCase setup do sign_in users(:api_bestnames) end def test_epp_server_does_not_response visit registrar_xml_console_path fill_in 'payload', with: schema_example click_on 'Send EPP Request' el = page.find('.CodeRay', visible: :all) assert el.text.include? 'CONNECTION ERROR - Is the EPP server running?' end private def schema_example <<~XML auction.test XML end end