generalized fill in field with text action

pull/7/head
Adam Townsend 2023-10-02 13:02:48 -07:00
parent 52a6bac85f
commit cb027e19c8
1 changed files with 2 additions and 2 deletions

View File

@ -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