@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
    And I select Bad Seed in the moneyhub vendor filter
    And I intercept calls to revenueByArtist
    When I navigate to the highlights Artists tab
    Then The highlights artists page displays correctly
    And The highlights artists page data updates when the period is set to Since First Statement Period
    When I select the artist Nick Cave & The Bad Seeds from the highlights artists list
    Then The moneyhub highlights artist overview page displays correctly
    And The moneyhub highlights artist overview page data updates when filter by period and contract
    And The moneyhub highlights artist 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
    And I select Checked Label Services in the moneyhub vendor filter
    And I intercept calls to revenueByArtist
    And I navigate to the highlights Artists tab
    Then The highlights artists table is sorted by Net Revenue
    And The highlights artists page paginates correctly
    When I sort by Product Primary Artist, asc on the highlights artists page
    Then The highlights artists table is sorted by Product Primary Artist
    And I sort by Net Revenue, desc on the highlights artists page
    Then The highlights artists table is sorted by Net Revenue
    And I can filter the highlights page by the artist name Jason Owen
    Then I can check that the highlights artist filter changes the pagination dynamically with letter a
