generalized fill in field with text action
parent
52a6bac85f
commit
cb027e19c8
|
|
@ -10,8 +10,8 @@ When('I click the {string} button') do |string|
|
|||
click_button {string}
|
||||
end
|
||||
|
||||
When('I type {string} in the {string} field') do |email_txt, email_field|
|
||||
fill_in email_field, with: email_txt
|
||||
When('I type {string} in the {string} field') do |text, field|
|
||||
fill_in field, with: text
|
||||
end
|
||||
|
||||
# THEN
|
||||
|
|
|
|||
Loading…
Reference in New Issue