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}
|
click_button {string}
|
||||||
end
|
end
|
||||||
|
|
||||||
When('I type {string} in the {string} field') do |email_txt, email_field|
|
When('I type {string} in the {string} field') do |text, field|
|
||||||
fill_in email_field, with: email_txt
|
fill_in field, with: text
|
||||||
end
|
end
|
||||||
|
|
||||||
# THEN
|
# THEN
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue