@track_builder
Feature: Track Builder Upload I
  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_056dadd591ce52e5bc0c06867a4e3efa3b9bc04def5f2e05434bd75fd43e838b
  Scenario: Upload 5 tracks
    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
    When I upload 5 tracks via track builder bulk upload field
    Then I can see the 5 tracks in the tracklist table

  @ows_track
  @ows_assets
  @frontend_distribution
  @ows_asset_file_details
  @id_e076e08dca7e36e80f7a908f347915d0f402a12c786b299f0e2f102bfef0812d
  Scenario: Upload and reupload
    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
    When I import a valid track via upload from computer dialog box
    Then I can see the track in the tracklist table
    When I replace the Audio file of the first track
    Then I can see the track is replaced

  @ows_track
  @ows_assets
  @frontend_distribution
  @id_8e6324c6dbd6b73a3746dc358e051d3c4c2394db91d6a88228bfb3448d1929b3
  Scenario: Import track - upload error
    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
    When I import an invalid track via upload from computer dialog box
    Then I can see when there was an error during the track upload
