@apollo
Feature: Comparison Playlist Support

  @id_302b50f48486f31d9673d32190b2071681b0e536b79b3cbf77e71dce6f949ec7
  Scenario: [AP-2647] Verification of Track Streams Performance legend
    Given comparison track6 for us market is ready
    And Sony user logged in to Apollo portal

    When Track Comparison Tool is opened
    And australia market selected in Apollo Header
    # step 1-2
    Then verify track performance legend for track6

    # step 3
    When period 14 Days is selected
    And Apple Music dsp in Comparison performance is selected
    Then Apple Music tp and cp total streams are equal for market = australia

    # step 4-5
    When All Streams dsp in Comparison performance is selected
    Then track tooltip contains streams data for market = australia

    # step 6 (repeated actions needed because of wrong parameters set after go back)
    When period 14 Days is selected
    And All Streams dsp in Comparison performance is selected
    Then All Streams tp and cp combined streams are equal for market = australia

    # step 7
    When stream performance chart is visible
    Then streams changed due to chosen period
    # step 8-9
    And streams changed due to chosen market = us
    # step 10
    And streams changed due to chosen header market = global
    # step 11
    And tp is not change after changing tabs
