Skip to content

Commit

Permalink
Fix steps
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksmith-welder committed Feb 18, 2025
1 parent 8012f6e commit 57d8230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions staff_features/shared/step_definitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,6 @@
end

When 'the user changes the {string} field to {string}' do |field, value|
byebug

field = find_field(field, match: :first)

if field.tag_name == 'select'
Expand Down
4 changes: 2 additions & 2 deletions staff_features/top_containers/top_container_edit.feature
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Feature: Top Container Edit
Given the Top Container is opened in edit mode
When the user changes the '<Field>' field to '<NewValue>'
And the user clicks on 'Save'
Then the 'Top Container' updated message is displayed
And the user clicks on 'Edit'
Then the field '<Field>' has value '<NewValue>'
Examples:
| Field | NewValue |
Expand Down Expand Up @@ -63,5 +63,5 @@ Feature: Top Container Edit
Scenario: Cancel Top Container delete from the edit page
Given the Top Container is opened in edit mode
When the user clicks on 'Delete'
And the user clicks on 'Cancel'
And the user clicks on 'Cancel' in the modal
Then the user is still on the Top Container edit page

0 comments on commit 57d8230

Please sign in to comment.