@track_builder
Feature: Track Builder Upload II
  To ensure I can submit a track
  As a vendor
  I need to verify Track Builder upload feature

  @ows_track
  @ows_assets
  @frontend_distribution
  @id_d274069d9df862d142862383d8c75d74bd3a26a1c2057413bbc2719354a4d810
  Scenario: Reorder tracks and manage volumes
    Given an orchard employee label_7123_admin for workstation
    And I log in
    And I have a new digital product for the project 3697912 for label 7123
    And I am on the digital product tracks page for a product with no tracks
    And I add 2 blank tracks
    Then I should see my product has 2 tracks
    When I add 2 more blank tracks on a product which already has tracks
    Then I should see my product has 4 tracks
    And there are no volume dividers present
    When I add a volume divider
    And I move the volume divider between the tracks
    Then the tracks are separated by volumes
    When I delete all volume dividers
    Then there are no volume dividers present
    When I drag track 4 to the top position
    Then the track order should persist after a page refresh for 4 tracks
    When I initiate track deletion
    And I cancel track deletion
    Then I can see that the track 4 has not been deleted
