@insights_regression
@insights_amplitude
@IN-12431
Feature: Song Overview POT Amplitude Events

  Background: [Song>PoT] Amplitude events verification.
    Given an orchard employee multiaccount1 for insights
    And I log in to Insights silently
    And I visit the insights /song/QMFME2364182/?pot=saves&potGraphType=LINE&dimension=store page

  @id_29999dcc5c046d205a09f26cb1eab1a7580ff90d3e7b61d301a30ef3f96d8468
  Scenario Outline: [Song>PoT] Amplitude events verification. - switch tab <tab>
    And I switch POT tab to <tab> on Song page
    And I can see POT graph is loaded
    Then I can verify "event":"POT Tab" in amplitude events
    And I can verify "brand":"theorchard" in amplitude events
    And I can verify "category":"Performance over Time" in amplitude events
    And I can verify "name":"song" in amplitude events
    And I can verify "page":"song" in amplitude events
    And I can verify "path":"/song/QMFME2364182/" in amplitude events
    And I can verify "potTab":"<property>" in amplitude events

    Examples:
      | tab          | property        |
      | By Countries | By Countries    |
      | By Sources   | Streams&Sources |
