# 05-13-2024
# this app is gone and not in use anymore
@wip
@frontend_analytics_comparison_tool
Feature: Comparison Tool

  @id_8c5f51233fba7dd9973ce46e2424ffd7fb33d5ceb73bac0853d903c1ed74c207
  Scenario: User can search for a song in the add a song box
    Given an orchard employee react_homepage_flow_15063 for workstation
    And I login silently to workstation and visit the analytics comparison tool page
    When I search for USA371175310 in the add a song box
    Then I see one result displayed

  @id_0811a2b19d4921e607e3a777a4a164b2cb58083e8e43503a80d0208093342790
  Scenario: Data populates when a song is selected
    Given an orchard employee react_homepage_flow_15063 for workstation
    And I login silently to workstation and visit the analytics comparison tool page
    When I search and select USTV10200084 in the add a song box
    Then I see a performance over time chart with some data
    And I see a Source of Streams chart with some data
    And I see a Streams by Subscription chart with some data
    And I see a Top Playlists chart with some data
    And I see a Top Territories chart with some data
    And I see the Top Audience charts with some data

  @id_3fc22eb6b77fa96583d819b8d5037ff60076438cc5d32e5146be29d50d45ed1f
  Scenario: Data populates when a song is selected and the filter is set to first 7 days
    Given an orchard employee react_homepage_flow_15063 for workstation
    And I login silently to workstation and visit the analytics comparison tool page
    And I search and select USTV10400117 in the add a song box
    When I choose First 7 Days in the comparison date filter
    Then I see a performance over time chart with some data
    And I see a Source of Streams chart with some data
    And I see a Streams by Subscription chart with some data
    And I see a Top Playlists chart with some data
    And I see a Top Territories chart with some data
    And I see the Top Audience charts with some data
