<commit_before>Feature: eSHOP Create

  [KFSQA-731] Create an e-SHOP order using a business to business vendor with an
              APO limit. Create order above the APO limit, but below the super-user
              APO limit. Check that order routes to Fiscal Officer for approval.

  @KFSQA-731 @E2E @PURAP @REQS @e-SHOP @cornell @wip1 @pending
  Scenario: Create e-shop order when the items' total is greater than the business
            to business total amount allowed for auto PO and less than business to
            business total amount allowed for superuser auto PO and verify the document
            routes to the fiscal officer.
    # Given I Initiate an eShop Order (Base Function)
    Given I am logged in as an e-SHOP User
    When  I go to the e-SHOP main page
    And   I search for an e-SHOP item with a Non-Sensitive Commodity Code
    And   I add e-SHOP items to my cart until the cart total reaches the Business to Business Total Amount For Automatic Purchase Order limit
    And   I view my e-SHOP cart
    And   I add a note to my e-SHOP cart
    And   I submit my e-SHOP cart
    Then  Payment Request Positive Approval Required is checked
    And   the e-SHOP cart has an associated Requisition document

    And   I stop here because The above steps should be rolled into a base function!

    When  I view the Requisition document
    And   I add these Accounting Lines to the Requisition document:
      | chart_code | account_number | object | amount |
      | 1          | 2              | 3      | 4      |
      | 5          | 6              | 7      | 8      |
    And   I calculate my Requisition document
    And   I submit the Requisition document
    Then  the document status is APPROVED
    And   the next pending action for the Requisition document is an APPROVE from a Fiscal Officer
<commit_msg>[KFSQA-856] Initial commit based on JIRA submission.<commit_after>Feature: eSHOP Create

  [KFSQA-731] Create an e-SHOP order using a business to business vendor with an
              APO limit. Create order above the APO limit, but below the super-user
              APO limit. Check that order routes to Fiscal Officer for approval.

  @KFSQA-731 @E2E @PURAP @REQS @e-SHOP @cornell @wip1 @pending
  Scenario: Create e-shop order when the items' total is greater than the business
            to business total amount allowed for auto PO and less than business to
            business total amount allowed for superuser auto PO and verify the document
            routes to the fiscal officer.
    # Given I Initiate an eShop Order (Base Function)
    Given I am logged in as an e-SHOP User
    When  I go to the e-SHOP main page
    And   I search for an e-SHOP item with a Non-Sensitive Commodity Code
    And   I add e-SHOP items to my cart until the cart total reaches the Business to Business Total Amount For Automatic Purchase Order limit
    And   I view my e-SHOP cart
    And   I add a note to my e-SHOP cart
    And   I submit my e-SHOP cart
    Then  Payment Request Positive Approval Required is checked
    And   the e-SHOP cart has an associated Requisition document

    And   I stop here because The above steps should be rolled into a base function!

    When  I view the Requisition document
    And   I add these Accounting Lines to the Requisition document:
      | chart_code | account_number | object | amount |
      | 1          | 2              | 3      | 4      |
      | 5          | 6              | 7      | 8      |
    And   I calculate my Requisition document
    And   I submit the Requisition document
    Then  the document status is APPROVED
    And   the next pending action for the Requisition document is an APPROVE from a Fiscal Officer

  @KFSQA-856 @BaseFunction @PDP @PO @PREQ @REQS
  Scenario: e-SHOP to PO to PREQ to PDP
    Given I INITIATE AN ESHOP ORDER
    And   I EXTRACT THE REQS TO SQ
    When  I INITIATE A PREQ
    Then  I FORMAT AND PROCESS THE CHECK WITH PDP

{'fraction_non_alphanumeric': 0.03158958807177154, 'fraction_numerical': 0.00960323477381855, 'mean_word_length': 2.3570822731128076, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '229848', 'n_tokens_mistral': 1129, 'n_tokens_neox': 1062, 'n_words': 579}