Sha256: 5b1bda2c64e70a59f0f61210982fa8da1049b5b9775c46eeae829bd8dea58fe6

Contents?: true

Size: 706 Bytes

Versions: 23

Compression:

Stored size: 706 Bytes

Contents

When /^I go to (.*)$/ do |path|
  visit path
end

When /^I press "(.*)"$/ do |button|
  click_button(button)
end

When /^I follow "(.*)"$/ do |link|
  click_link(link)
end

When /^I fill in "(.*)" with "(.*)"$/ do |field, value|
  fill_in(field, :with => value) 
end

When /^I select "(.*)" from "(.*)"$/ do |value, field|
  select(value, :from => field) 
end

When /^I check "(.*)"$/ do |field|
  check(field) 
end

When /^I uncheck "(.*)"$/ do |field|
  uncheck(field) 
end

When /^I choose "(.*)"$/ do |field|
  choose(field)
end

When /^I submit the form named "(.*)"$/ do |name|
  submit_form(name)
end

When /^I attach the file at "(.*)" to "(.*)" $/ do |path, field|
  attach_file(field, path)
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
cucumber-nagios-0.6.0 lib/generators/project/features/steps/webrat_steps.rb
cucumber-nagios-0.5.1 lib/generators/project/features/steps/webrat_steps.rb
cucumber-nagios-0.5.0 lib/generators/project/features/steps/webrat_steps.rb