@legacy
@oa
@oa_release
Feature: OA Edit Track
  to edit and enter track info through OA
  as an OA Technology_manager user
  I need to verify everything in OA edit track page

  @id_08dfaf59fcff9f8d1fffd940504e3f152f765971ebed2422a26e80c2c461319c
  Scenario: Verify mandatory fields for updating existing track
    Given an orchard employee cypress_manager visits OA
    And I log in to OA
    And I navigate to view release for UPC 886788172708 oa page
    When I edit the track details
    And I reset all the mandatory fields for the first track
    And I update the track info
    Then I should see error notification "You didn't select track type."
    When I set track type to "Music"
    # Remove the next line once LNC-530 get fixed
    And I update the track info
    Then I should see error notification "Please select Track Audio Language."
    When I enter track data in default fields
    And I update the track info
    Then I should see success notification "Track Info Successfully updated."
    And I verify track data in default fields

  # marking as wip as lnc field feature is in backlog (LNC-381)
  @wip
  @id_55b233bb1d890622781ee2de9bb4a6fdb1ddeb476df3780edd246f42a617c66b
  Scenario: Verify lnc fields for updating existing track
    Given an orchard employee cypress_manager visits OA
    And I log in to OA
    And I navigate to view release for UPC 886788172708 oa page
    And oa_edit_track_lnc_fields is enabled
    When I edit the track details
    And I reset all the mandatory fields for the first track
    And I enter track data in lnc fields
    And I update the track info
    Then I should see success notification "Track Info Successfully updated."
    And I verify track data in lnc fields
