Feature: Digital Audio Product Action Required
  In order to be aware of actions required for my products
  As a vendor
  I want to be notified by message on product details page

  @ows_product_workflow
  @ows_product_digital
  @ows_product
  @frontend_distribution
  Scenario: Action required release contains rejection messages and alerts
    Given a standalone Workstation label_7123 user
    And I have a digital product that requires attention
    When I am on the Project::DigitalProductActionRequiredPage for the product
    And I check to see rejection reasons
    Then I should see comments for all fields
    And I should see a rejected alert on all fields

  @wip
  @ows_product_workflow
  @ows_product_digital
  @ows_product
  @frontend_distribution
  Scenario: Resubmit an action required product with corrections standalone
    Given a standalone Workstation label_7123 user
    And I have a digital product that requires attention I wish to resubmit
    And I reject all fields with comments via DB
    When I am on the Project::DigitalProductOverviewPage for the product
    And I go to the digital product tracks section
    And I replace my track's audio file if file is missing or in error
    And I replace track's name
    And I go to the digital product basics section
    And I replace the product name
    And I go to the digital product artwork section
    And I upload valid artwork
    And I save my artwork
    And I go to the digital product scheduling and pricing section
    And I replace the product's release date
    Then I should see corrections on my expected fields
    When I resubmit my product
    Then I should see the resubmit success modal
