Backend/e-suite.Automation.UITests/ESuite.UI.E2E/Features/SequenceManagement.feature
2026-01-20 21:50:10 +00:00

35 lines
2.1 KiB
Gherkin

Feature: Sequence Management
As admin
I can create and edit and delete Sequence
@auth @logout
Scenario: Create Sequence and Update Sequence and Deleting Sequence and check of Audit log
Given I create a new Sequence
| Name | Seed | Increment | Pattern | RolloverType |
| TestSequence123 | 1 | 1 | ID:[000000] | Continuous |
Then I check Sequence Audit logs
| Timing | UserName | Comment | EntityDisplayName | Type | DisplayName | Changes |
| | | | | Create | scenarioDataInstance | |
When I update existing Sequence
| Name | Seed | Increment | Pattern | RolloverType |
| EDITED_Day_TestSequence123 | 2 | 3 | ID:[0000] Day:{DD} | Day |
Then I check Sequence Audit logs
| Timing | UserName | Comment | EntityDisplayName | Type | DisplayName | Changes |
| | | | | Update | scenarioDataInstance | |
When I update existing Sequence
| Name | Seed | Increment | Pattern | RolloverType |
| EDITED_Month_TestSequence123 | 12 | 13 | ID:[0000] Month:{MM} | Month |
Then I check Sequence Audit logs
| Timing | UserName | Comment | EntityDisplayName | Type | DisplayName | Changes |
| | | | | Update | scenarioDataInstance | |
When I update existing Sequence
| Name | Seed | Increment | Pattern | RolloverType |
| EDITED_Year_TestSequence123 | 22 | 23 | ID:[0000] Year:{YYYY} | Year |
Then I check Sequence Audit logs
| Timing | UserName | Comment | EntityDisplayName | Type | DisplayName | Changes |
| | | | | Update | scenarioDataInstance | |
When I delete a sequence
Then I check Sequence Audit logs
| Timing | UserName | Comment | EntityDisplayName | Type | DisplayName | Changes |
| | | | | Delete | scenarioDataInstance | |