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

  @wip
  @ows_track
  @ows_assets
  @frontend_distribution
  @id_d274069d9df862d142862383d8c75d74bd3a26a1c2057413bbc2719354a4d810
  Scenario: Reorder tracks and manage volumes
    Given an orchard employee label_7123 for workstation
    And I log in to workstation silently
    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
    # Track Builder Blank -> Add 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
    # Track Builder Upload II -> Add, move, and delete volume dividers
    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
    # Track Builder Upload II -> Drag tracks
    When I drag track 4 to the top position
    Then the track order should persist after a page refresh for 4 tracks
    # Track Builder Upload II -> Cancel delete track
    # This scenario can be implemented as a frontend component test
    When I initiate track deletion
    And I cancel track deletion
    # Scenario consolidation results in four tracks in total from previous steps
    Then I can see that the track 4 has not been deleted


# Above is a consolidation of:
# cypress/e2e/workstation/productBuilder/trackBuilderUploadII.feature
# cypress/e2e/workstation/productBuilder/trackBuilderBlank.feature
# Pause pipeline execution while collecting data for framework comparison and refactor analysis