@ows_metadata
# Currently has 502 Bad Gateway errors.
Feature: XML iTunes TV
  In order to ensure iTunes Tv XML is valid

  #to be added to smoke test because this uses a webservices api call to generate the xmls
  Scenario: Has node with content type of tv
    Given I have an TV XML for dms 1 upc 885686530009
    Then The XML should have a node type with tv tag

  Scenario: Has product node
    Given I have an TV XML for dms 1 upc 885686530009
    Then the XML should have a product tag

  Scenario: Territory product has subnodes
    Given I have an TV XML for dms 1 upc 885686530009
    Then There should be children nodes under product tag

  Scenario: Doesn't have territory nodes for other countries
    Given I have an TV XML for dms 1 upc 885686530009
    Then I check that the XML has no territory nodes for other countries
