@insights_regression
@insights_account_pot
@IN-13618
Feature: Account Overview POT By Entities Graph

  @id_f0a2559daad37cb7472994e7f3e0abcccf27051db040e4b8d02765b7010d9664
  Scenario Outline: [Regression][Account][POT > Streams filter By <dimension>] Graph tooltips verification
    Given an orchard employee insightsemployee for insights
    And I log in
    When I visit the insights <page> page
    Then I can verify graph tooltip data for <filterValue> metric By <dimension> on Account POT

    Examples:
      | page                                                                                                         | filterValue | dimension |
      | /account/21786/?potDimension=product&potGraphType=LINE&potMetric=streams                                     | Streams     | Product   |
      | /account/21786/?potDimension=artist&potGraphType=LINE&potMetric=streams&potSubscription=subscription&store=1 | Streams     | Artist    |
      | /account/21786/?potDimension=track&potGraphType=LINE&potMetric=streams&potSubscription=adSupported&store=286 | Streams     | Track     |
      | /account/21786/?potDimension=project&potGraphType=LINE&potMetric=streams&potSubscription=midTier&store=1505  | Streams     | Project   |

  @id_78414ff89cf4b32af4cea42ba95f4e24d82c5b5ad0e98e14b4aa865a0e0a9751
  Scenario Outline: [Regression][Account][POT > <filterValue> filter] Graph tooltips verification
    Given an orchard employee insightsemployee for insights
    And I log in
    When I visit the insights <page> page
    Then I can verify graph tooltip data for <filterValue> metric By <dimension> on Account POT

    Examples:
      | page                                                                    | filterValue     | dimension  |
      | /account/21786/?potDimension=imprint&potMetric=downloads                | Track Downloads | Imprint    |
      | /account/26760/?potDimension=subaccount&potMetric=saves                 | Saves           | Subaccount |
      | /account/26760/?potDimension=subaccount&potMetric=skipRate&period=past7 | Skip Rate       | Subaccount |

  @id_3ee941215a8abac6c149039951ab002eb58f53da434c6a6ef9ce4803a4daeae2
  Scenario: [Regression][Account][POT > Streams filter By Artist - 1 item] Graph tooltips verification
    Given an orchard employee insightsemployee for insights
    And I log in
    When I visit the insights /account/26760/subaccount/46189/?potDimension=artist&potMetric=streams page
    Then I can verify graph tooltip data for Streams metric By Artist 1 item on Account POT
