summaryrefslogtreecommitdiffstats
path: root/common/onap-generic-artifact-browser/onap-generic-artifact-browser-component-tests/src/test/resources/org/onap/sdc/gab/cucumber/gab_controller.feature
blob: d0d1d2451429854c7544a614976af969e326ab11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Feature: GABService usage
  GABService can find a keywords inside the yaml file

  Scenario: Ask for two-results keyword providing path to yaml
    Given yaml document "yaml/faultRegistration.yml" of type "PATH"
    And header to search "event.action[1]"
    When I ask service for results
    Then Service should find 2 results

  Scenario: Ask for single-results keyword providing yaml content
    Given yaml document "event: {presence: required, action: [ any, any, alarm003, Clear ], structure: {}}" of type "CONTENT"
    And header to search "event.action[1]"
    When I ask service for results
    Then Service should find 1 results