generalized fill in field with text action
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user