@deprecated
@fansifter
@artist-page
Feature: Artist page - Total fans

  Background: Log in (user has access to a few labels)
    Given an orchard employee fansifter-set-2-2-aquarius for fansifter
    And I log in to fansifter silently without token reuse
    And I open the Search page

  @FS-1532
  @id_0aa93fa8a31a47fcafaacbcb746cfb163de48527bce249ff89d29353656a5f00
  Scenario: Artist page default state (artist with fan data in a few labels)
    When I search for an artist "Frank Sinatra"
    And I select #1 search result containing "Frank Sinatra"
    Then Global selected by default in the country picker
    # And account with bigger quantity of fans for the artist is preselected by default
    And Total fans number is received and displayed
    And Total fans GraphQl request query doesn't include countries

  @FS-1563
  @ows_dmp
  @id_54875be2f3e3ae52567c38d67b29d19ea3ffc75d0d4cf852f113fc44d6bc5180
  Scenario Outline: Countries filter is applied on the artist page
    When I search for an artist "Frank Sinatra"
    And I select #1 search result containing "Frank Sinatra"
    # And I choose account with name "Test Label (7123)" on artist page
    And I select <Countries> in the country dropdown
    Then total fans is updated
    And country filter is set
    # And account filter is set
    And total fans number is updated in the header

    Examples:
      | Countries        |
      | "Australia"      |
      | "Austria,Brazil" |

  @FS-1564
  @id_c506cb7c08daa419c06242d57c234d6c97d0ffa1af68dfc20b82188b2ba7653d
  Scenario: The total count of fans is 0 for countries with no fan data
    When I search for an artist "Megan Hilty"
    And I select #1 search result containing "Megan Hilty"
    And I select "Western Sahara" in the country dropdown
    Then notice about no fan data is shown on artist page
    And total fans count is "0"
