diff options
author | talig <talig@amdocs.com> | 2018-07-24 10:30:55 +0300 |
---|---|---|
committer | talig <talig@amdocs.com> | 2018-07-24 10:30:55 +0300 |
commit | f96e244d1764e0dfb5f574b73eb4d248840447c6 (patch) | |
tree | 8a9e3d26846d38192c76c6f8b61fc963bf15ad48 /workflow/workflow-bdd/features/Workflow.feature | |
parent | c25c8557c370e683fc97e27364b71f3468ec8354 (diff) |
Add/Fix workflow/version flow tests
Change-Id: I63d432333d5038ff5178742fb3b2347d1b551879
Issue-ID: SDC-1503
Signed-off-by: talig <talig@amdocs.com>
Diffstat (limited to 'workflow/workflow-bdd/features/Workflow.feature')
-rw-r--r-- | workflow/workflow-bdd/features/Workflow.feature | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/workflow/workflow-bdd/features/Workflow.feature b/workflow/workflow-bdd/features/Workflow.feature index b234fdb7..dffcc55d 100644 --- a/workflow/workflow-bdd/features/Workflow.feature +++ b/workflow/workflow-bdd/features/Workflow.feature @@ -14,12 +14,18 @@ Feature: Workflow - Scenario: Create valid - When I want to create a Workflow + Scenario: Create invalid - without name + Given I want to create input data + When I want the following to fail with response status code 400 + Then I want to create for path "/workflows" with the input data from the context - Scenario: Update and Get workflow + Scenario: Create When I want to create a Workflow - Then I want to update the input property "description" with value "workflow desc updated" - Then I want to update for path "/workflows/{item.id}" with the input data from the context + Then I want to check property "description" for value "Workflow Description" + + Scenario: Update and Get + Given I want to create a Workflow + And I want to update the input property "description" with value "workflow description updated" + When I want to update for path "/workflows/{item.id}" with the input data from the context Then I want to get path "/workflows/{item.id}" - Then I want to check that property "description" in the response equals to value of saved property "inputData.description" + And I want to check property "description" for value "workflow description updated" |