@moneyhub
Feature: Highlights Artists

  @id_6b7276cd8c8e93c8304378710f3381a400e3ed2ec01658535e69af51694ccee2
  Scenario: Highlights page statement period filter, artists tab and overview tab works correctly
    Given an orchard employee label_6971 for moneyhub
    And I log in to moneyhub silently
    And I select Bad Seed in the vendor filter
    And I intercept calls to revenueByArtist
    When I navigate to Artists tab
    Then The artists page displays correctly
    And The highlights artists page data updates when the period is set to Custom Calendar Year
    When I navigate to the artist Nick Cave & The Bad Seeds page
    Then The artists overview page displays correctly
    And The artists overview page data updates when filter by period and contract
    And The artists data displays across all tables within the grouping tabs

  @id_861239f99e3968a7ec875c0f46b09bb4f1f801c1507a84fa84fd711a3e125ff2
  Scenario: Highlights page artists list table sort, pagination and filter by artist name
    Given an orchard employee label_6971 for moneyhub
    And I log in to moneyhub silently
    And I select Checked Label Services in the vendor filter
    And I intercept calls to revenueByArtist
    And I navigate to Artists tab
    Then The artist table is sorted by Net Revenue
    And the highlights artist page paginates
    And I sort by Product Primary Artist on Artists page
    Then The artist table is sorted by Product Primary Artist
    And I sort by Net Revenue on Artists page
    Then The artist table is sorted by Net Revenue
    Then I can filter by the artist name Jason Owen
    Then I can check that filter changes the pagination dynamically with letter a
