expanded click button to click any button for easier use

This commit is contained in:
2023-10-01 12:14:41 -07:00
parent 445236d735
commit a1ea2a09ec
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -12,6 +12,6 @@ Feature: Homepage
Scenario: Submitting the form without entering a URL Scenario: Submitting the form without entering a URL
Given I visit the '/' page Given I visit the '/' page
When I click the submit button When I click the "Submit" button
Then I should be on "/" page Then I should be on "/" page
+2 -2
View File
@@ -6,8 +6,8 @@ end
# WHEN # WHEN
When('I click the submit button') do When('I click the {string} button') do |string|
click_button "Submit" click_button {string}
end end
# THEN # THEN