@insights
Feature: Insights Account Page

  @id_e14d608536b2808da4dc1181cfdc0e0ad271c860ab4d04e341f7e412c2db1569
  Scenario: Account Page - Overview sections, tabs
    Given an orchard employee insightsreal for insights
    And I log in to Insights silently
    And I can navigate to My Catalog
    Then I can see Accounts tab is active on the Page
    And I can see My Catalog page with the accounts table
    And I can click subaccount toggle on My Catalog - Accounts tab
    And I can open account page from Accounts tab
    Then I can see header metrics on the Page
    And I can see Overview,Songs,Products,Artists,Videos,YouTube Channels tab on the page
    Then I can see Overview tab is active on the Page
    Then I can see the performance graph with data
    And I can see Top Content section on Account page
    And I can see Top Stores section on Account page
    And I can see Top Audience section on Account page

    When I can navigate to the Songs tab on the page
    Then I can see Account page with the songs table
    When I can navigate to the Products tab on the page
    Then I can see Account page with the products table
    When I can navigate to the Artists tab on the page
    Then I can see Account page with the artists table
    When I can navigate to the Videos tab on the page
    Then I can see Account page with the videos table
    When I can navigate to the YouTube Channels tab on the page
    Then "You don’t have any data yet" message on the page

  @id_a27ff72977e178ee511b04fa830398fa0199b06edf7e019e0ff950509fb80b12
  Scenario: SubAccount Page - Overview sections, tabs
    Given an orchard employee multiaccount1 for insights
    And I log in to Insights silently
    And I visit the insights account/26760/subaccount/46189/ page
    Then I can see header metrics on the Page
    And I can see Overview,Songs,Products,Artists tab on the page
    And I cannot see Videos,YouTube Channels tab on the page
    Then I can see Overview tab is active on the Page
    Then I can see the performance graph with data
    And I can see Top Content section on Account page
    And I can see Top Stores section on Account page
    And I can see Top Audience section on Account page

  @wip
  @id_58ac7f871690532409556d7e41462ad0ad91e584d5981a7a1640b46fd6937b2d
  Scenario: Account Page - single label user
    Given an orchard employee single_label for Insights
    When I log in to Insights silently
    Then I am successfully logged in to Insights
    And I can see songs by my label "Frenchkiss Records"
    And I can see Overview,Songs,Products,Artists,Videos,YouTube Channels tab on the page
    Then I can see Overview tab is active on the Page
    And I can navigate to the Songs tab on the page
    And I can see "single" label user filters
