@frontend_catalog
Feature: Mech Admin Publishing Obligations

  #DIG-7577, DIG-5609
  Scenario: Withhold Royalties is present and publishers is required for mech admins
    Given a standalone Workstation label_16155 user
    And I am on the Project::DigitalProductTracksPage for the product 2343467
    When I specify Less than 100% controlled (at least partially administered by 3rd party) as the publishing obligation for the track
    Then I should see the withhold royalties options
    When I choose to withhold publishing royalties
    And I save my publishing obligations
    Then I should see publishers as a required field

  #PHYS-2128
  Scenario: Withhold Royalties is present and publishers is required for mech admins on a physical product
    Given a standalone Workstation label_16155 user
    And I am on the Project::ProductPublishingPage for the product 2365035
    When I specify Less than 100% controlled (at least partially administered by 3rd party) as the publishing obligation for the physical track
    Then I should see the withhold royalties options
    When I choose to withhold publishing royalties
    And I save my physical publishing obligations
    Then I should see publishers as a required field
