blob: 778fd966161c6684ebad4116461b296dbcfbabcf [file] [log] [blame]
shrikantawacharde138f92018-03-08 19:58:24 +05301# Copyright © 2016-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
ilanap637206b2018-02-04 17:06:22 +020015Feature: Heat Example File
16 Scenario: Test with update for heat file and check for validation warning
ilanap637206b2018-02-04 17:06:22 +020017 Given I want to create a VLM
18
19 When I want to create a VSP with onboarding type "NetworkPackage"
20 Then I want to make sure this Item has status "Draft"
21
22 When I want to upload a NetworkPackage for this VSP from path "resources/uploads/BASE_MUX.zip"
23 And I want to process the NetworkPackage file for this VSP
24
shrikantawacharde138f92018-03-08 19:58:24 +053025 When I want to download the NetworkPackage for this VSP to path "resources/downloads/base_mux.zip"
26 Then I want to check property "data[0].file" for value "CB_BASE.yaml"
27
28 When I want to upload a NetworkPackage for this VSP from path "resources/uploads/BASE_MUX_with_no_base.zip"
29 Then I want to process the NetworkPackage file for this VSP
30 Then I want to check property "errors['CB_MUX.yaml'][0].level" for value "WARNING"