Sha256: d70ac3673cf19036b0d5bae9d58f51530b66f6dd6fb332d9290feb8b769ddbd3
Contents?: true
Size: 440 Bytes
Versions: 16
Compression:
Stored size: 440 Bytes
Contents
# This calls the main test_helper in Foreman-core require 'test_helper' def assert_row_button(index_path, link_text, button_text, dropdown = false) visit index_path within(:xpath, "//tr[contains(.,'#{link_text}')]") do find('span.caret').click if dropdown click_link(button_text) end end # Add plugin to FactoryBot's paths FactoryBot.definition_file_paths << File.join(File.dirname(__FILE__), 'factories') FactoryBot.reload
Version data entries
16 entries across 16 versions & 1 rubygems