@settings
@graphql_distribution
@userlist
Feature: Settings User List Page

  @id_a3e6476b2a6cf6fca8062f6f50918c90fd5ea4e22669e1c7f6e938154ddbc3a2
  Scenario: Users are shown in the table
    Given an orchard employee admin for settings
    And I log in to Settings silently
    Then I can navigate to Manage Users
    Then I see Manage Users page with a table with at least 3 rows

  @id_e10af620f81968eb001f48465b0cdcfd79e40c1a9c16eddf49460827a685023e
  Scenario: Users can be searched
    Given an orchard employee admin for settings
    And I log in to Settings silently
    Then I can navigate to Manage Users
    When I search user mlorenz
    Then I see Manage Users page with a table with at least 1 rows

  @id_c2e632946b688540e6def89428c3ba8a4d91d6d18b5a6ec59d0dab9754946589
  Scenario: Artist Users are shown for Label Admins
    Given I have a clear browser
    Given an orchard employee label_30570 for settings
    And I log in to Settings silently
    Then I can navigate to Manage Users
    Then I see Manage Users page with a table with at least 9 rows
    Then I see Users Table has rows of artist Crunchy Frog ApS access users
    Then I see Users Table has no rows of Frenchkiss access users
    When I search user Asger Tarpgaard
    Then I see Manage Users page with a table with at least 1 rows
