@insights_regression
@insights_account_pot
@IN-13605
Feature: Account Overview POT By Store Graph

  @id_22f55ebefee78ca14f360dd9520cabd1941d11605fa1e5994e7aa4375d63dc67
  Scenario Outline: [Regression][Account][POT > <filterValue> filter By Store] 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 Store on Account POT

    Examples:
      | page                                                                                       | filterValue     |
      | /account/21786/?potDimension=store&potGraphType=LINE&potMetric=streams                     | Streams         |
      | /account/21786/?potDimension=store&potGraphType=AREA&potMetric=downloads                   | Track Downloads |
      | /account/21786/?potDimension=store&potGraphType=LINE&potMetric=albumDownloads&period=past7 | Album Downloads |
      | /account/21786/?potDimension=store&potGraphType=LINE&potMetric=saves&period=past7          | Saves           |
      | /account/21786/?potDimension=store&potGraphType=LINE&potMetric=skipRate&period=past7       | Skip Rate       |

  @id_47d2115afc59c47fa9e5798c069188bf292261055600580c8da7433a51078322
  Scenario: [Regression][Account][POT > Streams metric By Store - selected store and subscription] Graph tooltips verification
    Given an orchard employee insightsemployee for insights
    And I log in
    When I visit the insights /account/21786/?potDimension=store&potGraphType=LINE&potMetric=streams&store=1&potSubscription=subscription page
    Then I can verify graph tooltip data for Streams metric By Store 1 item on Account POT
