Feature: Release Approval

  # QA-379359
  @oa
  @cache_warm
  @regression
  @ows_features
  @frontend_distribution_oa_components
  @id_c23664fd4c7f3547ffff3cbb6801ed3d513b461dc320d638fb7c96c9b9175465
  Scenario: Check out and check in release
    Given an orchard employee cypress_manager_3 visits OA
    And I log in to OA
    And the release 889176687242 is not checked out
    When I check out release 889176687242
    Then I should be on the release approval page

  # # Will be tweaking this scenario with the next phase, QA-379360
  # @oa
  # @wip
  # Scenario: Verify Orchard/Sony validation messaging in release approval
  #   Given an orchard employee cypress_manager_3 visits OA
  #   And I log in to OA
  #   And the release 887396907096 is not checked out
  #   And show_gras_messages is enabled
  #   When I check out release 887396907096
  #   Then I see an error message saying it failed Orchard/Sony validation
  #   And show_gras_messages is disabled
  # QA-918, QA-379361
  @oa
  @id_5bafe3c6a6672404ba6076dd5f108a0d111c7f329577fea7d4422897c82ce111
  Scenario: Verify Blacklist artist release validation messaging in release approval
    Given an orchard employee cypress_manager_3 visits OA
    And I log in to OA
    And the release 191018697426 is not checked out
    When I check out release 191018697426
    Then I should see warning banner of "This release will likely be blocked"


# # DIG-5898, DIG-7267
# @oaworkstation
# @wip
# Scenario: Approve an error corrected release with corrected audio asset
#   Given an orchard employee label_7123 for workstation
#   And I log in to workstation silently
#   And I have a digital product I wish to approve
#   And my product is in complete status
#   When I am on the Project::DigitalProductActionRequiredPage for the product
#   And I go to the digital product basics section
#   And I replace the product name
#   And I go to the digital product tracks section
#   And I replace track's audio file
#   Then I can see the track is processed
#   When I resubmit my product
#   Then I should see the resubmit success modal
#   And my product should be in SUBMITTED status
#   Given an orchard employee cypress_manager_3 visits OA
#   And I log in to OA
#   And the release 192562102152 is not checked out
#   When I check out release 192562102152
#   Then the product name matches my new product name
#   When I approve the release
#   And I wait for the approval to submit
#   Then the release should be in content