@settings
@ows_users
@graphql_distribution
Feature: Invite User

  @id_563a745c463ffcaee403da09cda8db34e0d65fc55945b251c827d6780246a51f
  Scenario: Admin can invite an account user to Settings
    Given an orchard employee admin for settings
    And I log in
    And I navigate to the settings Manage Users page
    When I can invite a new user as account with Pure Noise Records • 24888 access
    Then The new user is successfully invited

  @id_dc7d9418c3edee7670ba5744cfd613c77b63559cf412baf7bc2d2893ca5721fe
  Scenario: Admin can invite an artist user to Settings
    And an orchard employee admin for settings
    And I log in
    And I navigate to the settings Manage Users page
    When I can invite a new user as artist with State Champs • 86292 access
    Then The new user is successfully invited

  @id_85de6677619661e528b00a11486c97d20b9e9929ab5c3c10a8e8a9c7923a1c2c
  Scenario: Admin can invite a collaborator user to Settings
    And an orchard employee admin for settings
    And I log in
    And I navigate to the settings Manage Users page
    When I can invite a new user as collaborator with Marc Mas • 13163 access and Accounting role only
    Then The new user is successfully invited

  @id_e7a1f0da2a0a99450d7306c15b2390a49e47502296a5791284d620dea708e729
  Scenario: Admin can invite a subaccount user to Settings
    And an orchard employee admin for settings
    And I log in
    And I navigate to the settings Manage Users page
    When I can invite a new user as subaccount with Iration • 62281 access
    Then The new user is successfully invited

  @id_b8ca14f277ca4a7e6ebb17564eca9f87e7f77eaa6459e756b2a1078098d7577c
  Scenario: Invite user form fields are cleared after a successful invite
    Given an orchard employee admin for settings
    And I log in
    And I navigate to the settings Manage Users page
    When I can invite a new user as account with Pure Noise Records • 24888 access
    Then the invite user form fields are empty
