Feature: Track Builder Validation I
  To ensure I can validate tracks in the tracklist
  As a vendor
  I need to verify Track Builder validation feature

  # This scenario can be implemented as a frontend component test.
  @wip
  @ows_track
  @ows_assets
  @frontend_distribution
  @id_28638ea0166bb7f48591e10f4f9a9a7bb28c8dc822da40d467f2ad461129409f
  Scenario: Track validation state changes
    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
    When I import a valid track via upload from computer dialog box
    # Track Builder Validation I -> Track has a validation icon if not all necessary fields are completed
    And I click the validate product button
    Then I should see a validation message for missing track fields
    And I should see an icon for a track because not all fields are filled
    # Track Builder Validation I -> Track has no validation icon if all necessary fields are completed
    When I fill in all the required track builder fields
    And I click the validate product button
    Then I should see a validation icon for complete track fields


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