@analytics
@cache_warm
Feature: Analytics for Subaccount
# TODO: move this to SPA SA once AnalyticsOverviewPage is under SPA
  Scenario Outline: Compare data for two different periods
    Given a Workstation subaccount_20651 user
    And I am on the Workstation::AnalyticsOverviewPage
    When I select a <period> period
    And I apply the selected filters
    And I view Download Tracks broken down by Product
    And I get the total number of units sold for the time period
    When I select a <period_2> period
    And I apply the selected filters
    Then the current period's total units should not equal the previous period's

  Examples:
    | period  | period_2 |
    | 3 Month | 6 Month  |
    | 6 Month | 1 Year   |
    | 1 Year  | 3 Year   |
    | 3 Year  | 1 Month  |
    | 1 Month | 3 Month  |
