blob: d74c7e3f7c570ab34c734bd5233c68ae31e0a78b [file] [log] [blame]
shrikantawachar9f330602018-02-12 16:57:59 +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
shrikantawacharde138f92018-03-08 19:58:24 +053015Feature: Abort Flow - Test Submit
shrikantawachar9f330602018-02-12 16:57:59 +053016
17 Background: Init
18 Given I want to create a VLM
siddharth0905c0b0f612019-01-24 14:01:46 +053019 Then I want to submit this VLM
shrikantawachar9f330602018-02-12 16:57:59 +053020
21 Scenario: Test submit if file is just uploaded
22 When I want to create a VSP with onboarding type "NetworkPackage"
23 Then I want to make sure this Item has status "Draft"
24
25 When I want to upload a NetworkPackage for this VSP from path "resources/uploads/BASE_MUX.zip"
26 Then I want the following to fail
27 When I want to submit this VSP
28
29 Scenario: Test submit if invalid file is uploaded and procced for validation
30 When I want to create a VSP with onboarding type "NetworkPackage"
31 Then I want to make sure this Item has status "Draft"
32
33 When I want to upload a NetworkPackage for this VSP from path "resources/uploads/errorHeat.zip"
34 Then I want to process the NetworkPackage file for this VSP
35 Then I want the following to fail
36 When I want to submit this VSP