@insights_regression
@insights_song_pot
@IN-12488
Feature: Song Overview POT By Sources Graph

  @id_a8c61257e4167f7bce4abdaaa22c3179459c5ca024886e770789d64e6f1492db
  Scenario Outline: [Regression][Song][POT > By Sources] Graph tooltips verification -  store <store>
    Given an orchard employee insightsemployee for insights
    And I log in to Insights silently
    When I visit the insights <page> page
    Then I can verify graph tooltip data for <store> store By Sources on Song POT
    When I switch to line POT view on Song page
    Then I can verify graph tooltip data for <store> store By Sources on Song POT

    Examples:
      | page                                                                          | store        |
      | song/QM6MZ2214888/?pot=streams&dimension=sourceofstreams                      | all          |
      | song/QM6MZ2214888/?pot=streams&store=286&dimension=sourceofstreams            | Spotify      |
      | song/QM6MZ2214888/?period=past7&pot=streams&store=1&dimension=sourceofstreams | Apple Music  |
      | song/QM6MZ2214888/?pot=streams&store=187&dimension=sourceofstreams            | Amazon Music |

  @id_742d2cf5dcffa45c37576b340daab8f51c9a15aa9a26025fa4e0efd05af70743
  Scenario: [Regression][Song][POT > By Sources - 1 selected Metric] Graph tooltips verification
    Given an orchard employee insightsemployee for insights
    And I log in to Insights silently
    When I visit the insights song/QM6MZ2214888/?sources=ALBUMPAGE&store=286&pot=streams&dimension=sourceofstreams page
    Then I can verify graph tooltip data for Spotify store By Sources 1 item on Song POT
