Use versioning, zusammen and session libs from sdc-common-be
[sdc/sdc-workflow-designer.git] / workflow-bdd / features / Workflow.feature
1 # Copyright © 2018 European Support Limited
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 Feature: Workflow
16
17 #  Scenario: Create invalid - without name
18 #    Given I want to create input data
19 #    When I want the following to fail with response status code 400
20 #    Then I want to create for path "/workflows" with the input data from the context
21
22   Scenario: Create
23     When I want to create a Workflow
24     Then I want to check property "description" for value "Workflow Description"
25
26 #  Scenario: Update and Get
27 #    Given I want to create a Workflow
28 #    And I want to update the input property "description" with value "workflow description updated"
29 #    When I want to update for path "/workflows/{item.id}" with the input data from the context
30 #    Then I want to get path "/workflows/{item.id}"
31 #    And I want to check property "description" for value "workflow description updated"