@insights_regression
@insights_song
@insights_song_pot
Feature: Song Overview POT Legend States

  Background:
    Given an orchard employee multiaccount1 for insights
    And I log in
    And I visit the insights /song/QMFME2364182 page

  @IN-12317
  @id_cf0145d2d9ef56527ec69e464d4fc049fce754a122d35ff0ddeee10344cea3b7
  Scenario: [Regression][Song page] [Song > By Market] Legend states verification - no data
    When I can see the performance graph with data
    And I switch POT Dimension segment to By Market
    And I set POT Store filter to Google Play
    Then "You don’t have any data yet" message on the page
    And I can verify Top Territories is not visible
    When I clear Store filter
    And I switch POT Dimension segment to By Source
    And I set POT Store filter to Google Play
    Then "You don’t have any data yet" message on the page
    And I can verify Top Territories is not visible

  @IN-12343
  @id_f62043ccecbd9f4931ef72d910182cc0fd4ec4fa2622669792d3cf9e5367e650
  Scenario: [Regression][Song page] [Song > By Market] Legend states verification - failed state
    Then "Sorry, we hit a snag" message on the page
    And "Data failed to load. Please refresh the page." message on the page
