| @BusinessDateFeature |
| Feature: BusinessDate |
| |
| @TestRailId:C38 |
| Scenario: As a user I would like to enable the Business date configuration |
| Given Global configuration "enable-business-date" is enabled |
| |
| @TestRailId:C39 |
| Scenario: As a user I would like to disable the Business date configuration |
| Given Global configuration "enable-business-date" is disabled |
| |
| @TestRailId:C40 |
| Scenario: As a user I would like to set the business date |
| When Admin sets the business date to "10 July 2022" |
| Then Admin checks that the business date is correctly set to "10 July 2022" |
| |
| @TestRailId:C41 |
| Scenario: As a user I would like to change the business date manually |
| When Admin sets the business date to "10 July 2022" |
| Then Admin checks that the business date is correctly set to "10 July 2022" |
| When Admin sets the business date to "11 July 2022" |
| Then Admin checks that the business date is correctly set to "11 July 2022" |
| |
| @TestRailId:C27 |
| Scenario: As a user I would like to change the business date with scheduled job |
| When Admin sets the business date to "10 July 2022" |
| When Admin runs the Increase Business Date by 1 day job |
| Then Admin checks that the business date is correctly set to "11 July 2022" |
| |
| @TestRailId:C3954 |
| Scenario Outline: Verify set incorrect business date with null or empty value handled correct with accordance error message - UC1 |
| When Set incorrect business date with empty value <empty_biz_date_value> outcomes with an error |
| |
| Examples: |
| | empty_biz_date_value | |
| | "" | |
| | "null" | |
| |
| @TestRailId:C3958 |
| Scenario Outline: Verify set incorrect business date value handled correct with accordance error message - UC2 |
| When Set incorrect business date value "<incorrect_biz_date_value>" outcomes with an error |
| |
| Examples: |
| | incorrect_biz_date_value | |
| | 33 August 2025 | |
| | August 12 2025 | |
| | 11 15 2025 | |
| | 15 | |
| |