# Created by mswiss at 11/7/17
@physical_delivery_creation
@frontend_pricing
Feature: Physical Product Delivery

  @wip
  Scenario: Create, submit, and approve and create encoding order physical product as Audiogram
    Given the Project Mode feature control is enabled for label_25517
    And the Physical UPC Generation feature control is enabled for label_25517
    Given a Workstation label_25517 user
    And I have existing Physical Product data for label 25517 for all fields
    And I am on the Workstation::AccountPage
    And I change the default language to English
    And I am on the Project::PhysicalProductReviewPage for a newly-created submitted physical product
    # approve release
    Given an OA Technology_manager user
    When I look for the product in Release Approval
    And I check out the product
    And I approve the product
    And I wait for the approval to submit
    # confirm release is in content
    Given I am on the Project::PhysicalProductDetailsPage for the product
    Then the product should be in content
    Given an OA Technology_manager user
    When I create a Vector Bulk Feeds encoding order with a normal priority
    And I create physical encoding order for 25517
    And I close an encoding order
    Then I should see a completed encoding order
    When I am on the OA::ManagePricingPage for the created release

  Scenario: Change price on an existing release
    Given an OA Technology_manager user
    When I am on the OA::ManagePricingPage for the created release
    And and I change the newly created releases price
    Then I should see the updated release pricing
    And I generate metadata update queue for 20000000002812
