Feature: Digital Audio Product Error Correction
  To edit release information after my release is approved
  As a vendor
  I want to be able to correct errors

  # DIG-5886
  # This scenario can be implemented as a frontend component test.
  # Refactored -> cypress/e2e/workstation/productBuilderMigration/digitalAudioProductBuilderErrorCorrection.feature
  @refactor_old
  @ows_product_workflow
  @ows_product_digital
  @ows_product
  @graphql_product
  @frontend_distribution
  @id_bcef3b2a676359c8f39577af19bbb48dfa3e955d9d9169c3974aca456a112fe1
  Scenario: Edit non-delivered field on approved release
    Given an orchard employee label_7123 for workstation
    And I log in to workstation silently
    When I am on the digital product action required page for the product 2162151
    And I go to the digital product basics section
    And I replace the special instructions
    Then I should see a success alert indicating I edited a non-delivered field
    And my product should be in Complete status

  # DIG-5887, DIG-6128
  # This scenario can be implemented as a frontend component test.
  # Refactored -> cypress/e2e/workstation/productBuilderMigration/digitalAudioProductBuilderErrorCorrection.feature
  @refactor_old
  @ows_product_workflow
  @ows_product_digital
  @ows_product
  @graphql_product
  @frontend_distribution
  @id_bb836cdd06c36ea16037fb7a6d4c0e417ca15379fc0b08d08255db9338ea416a
  Scenario: Edit delivered field on approved release and discard
    Given an orchard employee label_7123 for workstation
    And I log in to workstation silently
    When I am on the digital product action required page for the product 2162151
    And I go to the digital product basics section
    And I replace the product name
    Then I should be on the Digital Product Overview page
    And I should see a warning alert indicating I edited a delivered field
    And my product should be in Correction status
    When I discard changes
    Then my product should be in Complete status

  # DIG-5888
  @refactor_keep
  @ows_product_workflow
  @ows_product_digital
  @ows_product
  @graphql_product
  @frontend_distribution
  @id_10998e8071f1e240d7baefb739e834ae7de10cf9921d0ba23478dd4957398d1c
  Scenario: Edit delivered field on approved release and submit
    Given an orchard employee label_7123 for workstation
    And I log in to workstation silently
    And my product 2176241 is in complete status
    When I am on the digital product action required page for the product 2176241
    And I unsubmit my product
    And I go to the digital product basics section
    And I change the subgenre
    Then I should see a warning alert indicating I edited a delivered field
    And my product should be in Correction status
    When I resubmit my product
    Then I should see the resubmit success modal
    And my product should be in Submitted status
