Introduced yaml parser as common lib
[sdc.git] / common / onap-generic-artifact-browser / onap-generic-artifact-browser-component-tests / src / test / resources / org / onap / sdc / gab / cucumber / gab_controller.feature
1 Feature: GABService usage
2   GABService can find a keywords inside the yaml file
3
4   Scenario: Ask for two-results keyword providing path to yaml
5     Given yaml document "yaml/faultRegistration.yml" of type "PATH"
6     And header to search "event.action[1]"
7     When I ask service for results
8     Then Service should find 2 results
9
10   Scenario: Ask for single-results keyword providing yaml content
11     Given yaml document "event: {presence: required, action: [ any, any, alarm003, Clear ], structure: {}}" of type "CONTENT"
12     And header to search "event.action[1]"
13     When I ask service for results
14     Then Service should find 1 results