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

  @id_a3e6476b2a6cf6fca8062f6f50918c90fd5ea4e22669e1c7f6e938154ddbc3a2
  Scenario: Users are shown in the table
    Given an orchard employee label_30570 for settings
    And I log in
    When I navigate to the settings Manage Users page
    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 qa_tester4 for settings
    And I log in
    When I navigate to the settings Manage Users page
    And I search the Manage Users table for user test
    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 an orchard employee label_30570 for settings
    And I log in
    When I navigate to the settings Manage Users page
    Then I see Manage Users page with a table with at least 9 rows
    Then I see Manage Users Table has rows of artist Crunchy Frog ApS access users
    Then I see Manage Users Table has no rows of Frenchkiss access users
    When I search the Manage Users table for user Ulrik Petersen
    Then I see Manage Users page with a table with at least 1 rows
