diff --git a/test/integration/admin_area/epp_logs_test.rb b/test/integration/admin_area/epp_logs_test.rb index 42e6f16e4..e9360672e 100644 --- a/test/integration/admin_area/epp_logs_test.rb +++ b/test/integration/admin_area/epp_logs_test.rb @@ -7,7 +7,7 @@ class AdminEppLogsIntegrationTest < ApplicationSystemTestCase sign_in users(:admin) end - def test_helper_test + def send_epp_request_hello request_xml = <<-XML @@ -26,9 +26,9 @@ class AdminEppLogsIntegrationTest < ApplicationSystemTestCase def test_show_epp_log_page visit admin_epp_logs_path - test_helper_test + send_epp_request_hello visit admin_epp_logs_path - puts find(:xpath, "//table").native + find(:xpath, "//tbody/tr/td/a", match: :first).click assert_text 'Details' end @@ -36,6 +36,8 @@ class AdminEppLogsIntegrationTest < ApplicationSystemTestCase def test_dates_sort Capybara.exact = true visit admin_epp_logs_path + send_epp_request_hello + visit admin_epp_logs_path find(:xpath, "//a[contains(text(), 'Created at')]", match: :first).click find(:xpath, "//a[contains(text(), 'Created at')]", match: :first).click