Skip to content

Commit

Permalink
Container Profile edit
Browse files Browse the repository at this point in the history
  • Loading branch information
kdimopulu authored and blacksmith-welder committed Feb 25, 2025
1 parent 3506790 commit e7f7e40
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions staff_features/container_profiles/container_profile_edit.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Feature: Container Profile Edit
Background:
Given an administrator user is logged in
And a Container Profile has been created
Scenario: Container Profile is opened in the edit mode from the browse menu
Given the Container Profile appears in the search results list
When the user clicks on 'Edit'
Then the Container Profile is opened in the edit mode
Scenario: Container Profile is opened in the edit mode from the view mode
Given the Container Profile is opened in the view mode
When the user clicks on 'Edit'
Then the Container Profile is opened in the edit mode
Scenario Outline: Container Profile is successfully updated
Given the Container Profile is opened in edit mode
When the user changes the '<Field>' field to '<NewValue>'
And the user clicks on 'Save'
Then the field '<Field>' has value '<NewValue>'
Examples:
| Field | NewValue |
| Name | Updated Test Container Profile |
| Width | 10 |
Scenario: Container Profile is not updated after changes are reverted
Given the Container Profile is opened in edit mode
When the user changes the 'Name' field
And the user clicks on 'Revert Changes'
Then the Container Profile Name field has the original value
Scenario: Container Profile update fails due to missing required field
Given the Container Profile is opened in edit mode
When the user clears the 'Name' field
And the user clicks on 'Save'
Then the following error message is displayed
| Name - Property is required but was missing |
And the Container Profile Name field has the original value

0 comments on commit e7f7e40

Please sign in to comment.