Skip to content

Commit e7f7e40

Browse files
kdimopulublacksmith-welder
authored andcommitted
Container Profile edit
1 parent 3506790 commit e7f7e40

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Feature: Container Profile Edit
2+
Background:
3+
Given an administrator user is logged in
4+
And a Container Profile has been created
5+
Scenario: Container Profile is opened in the edit mode from the browse menu
6+
Given the Container Profile appears in the search results list
7+
When the user clicks on 'Edit'
8+
Then the Container Profile is opened in the edit mode
9+
Scenario: Container Profile is opened in the edit mode from the view mode
10+
Given the Container Profile is opened in the view mode
11+
When the user clicks on 'Edit'
12+
Then the Container Profile is opened in the edit mode
13+
Scenario Outline: Container Profile is successfully updated
14+
Given the Container Profile is opened in edit mode
15+
When the user changes the '<Field>' field to '<NewValue>'
16+
And the user clicks on 'Save'
17+
Then the field '<Field>' has value '<NewValue>'
18+
Examples:
19+
| Field | NewValue |
20+
| Name | Updated Test Container Profile |
21+
| Width | 10 |
22+
Scenario: Container Profile is not updated after changes are reverted
23+
Given the Container Profile is opened in edit mode
24+
When the user changes the 'Name' field
25+
And the user clicks on 'Revert Changes'
26+
Then the Container Profile Name field has the original value
27+
Scenario: Container Profile update fails due to missing required field
28+
Given the Container Profile is opened in edit mode
29+
When the user clears the 'Name' field
30+
And the user clicks on 'Save'
31+
Then the following error message is displayed
32+
| Name - Property is required but was missing |
33+
And the Container Profile Name field has the original value

0 commit comments

Comments
 (0)