1
0

feature_helpers.rb 294 B

123456789
  1. module FeatureHelpers
  2. def select_agent_type(type)
  3. select2(type, from: "Type")
  4. # Wait for all parts of the Agent form to load:
  5. expect(page).to have_css("div.function_buttons") # Options editor
  6. expect(page).to have_css(".well.description > p") # Markdown description
  7. end
  8. end