<commit_before>Feature: Purap REQS 2 Building Blocks

  [KFSQA-733] Create -- non eShop with C&G, Commodity routing

  [KFSQA-734] Create -- non eShop with not C&G amount, Commodity routing

  [KFSQA-735] Create -- non eShop with not C&G account, Commodity routing

  [KFSQA-737] Create -- non eShop with C&G account, not Commodity

  [KFSQA-738] PURAP E2E REQS - Create -- non eShop- with Recurring Payment, C&G, not Commodity

  @KFSQA-733 @purap @cornell @tortoise
  Scenario: Create -- non eShop with C&G, Commodity routing
    Given I login as a KFS user to create an REQS
    And   I create the Requisition document with:
    | vendor number       | 4471-0   |
    | item quanity        | 7.5      |
    | item cost           | 1000     |
    | item commodity code | 12142203 |
    | item catalog number | 10101157 |
    | item description    | ANIM     |
    | account number      | 1278003  |
    | object code         | 6570     |
    | percent             | 100      |
    And   I add an Attachment to the Requisition document
    And   I enter Delivery Instructions and Notes to Vendor
    And   I calculate my Requisition document
    And   I submit the Requisition document
    Then  the requisition document goes to ENROUTE
    #   FO approve
    And   I switch to the user with the next Pending Action in the Route Log for the Requisition document
    And   I view the Requisition document on my action list
    And   I approve the Requisition document
    Then  the Requisition document goes to ENROUTE
   # Contracts & Grants Processor approve
    And   I switch to the user with the next Pending Action in the Route Log for the Requisition document
    And   I view the Requisition document on my action list
    And   I approve the Requisition document
    And   the Requisition document goes to ENROUTE
    # commodity reviewer
    And   I switch to the user with the next Pending Action in the Route Log for the Requisition document
    And   I view the Requisition document on my action list
    And   I approve the Requisition document
    Then  the Requisition document goes to FINAL

  @KFSQA-734 @KFSQA-735 @purap @cornell @slug
  Scenario Outline: Create -- non eShop with not C&G amount or account , Commodity routing
    Given I login as a KFS user to create an REQS
    And   I create the Requisition document with:
      | vendor number       | 4471-0           |
      | item quanity        | <item_quantity>  |
      | item cost           | 1000             |
      | item commodity code | 12142203         |
      | item catalog number | 10101157         |
      | item description    | ANIM             |
      | account number      | <account_number> |
      | object code         | <object_code>    |
      | percent             | 100              |
    And   I add an Attachment to the Requisition document
    And   I enter Delivery Instructions and Notes to Vendor
    And   I calculate my Requisition document
    And   I submit the Requisition document
    Then  the requisition document goes to ENROUTE
#   FO approve
    And   I switch to the user with the next Pending Action in the Route Log for the Requisition document
    And   I view the Requisition document on my action list
    And   I approve the Requisition document
    Then  the Requisition document goes to ENROUTE
    # commodity reviewer
    And   I switch to the user with the next Pending Action in the Route Log for the Requisition document
    And   I view the Requisition document on my action list
    And   I approve the Requisition document
    Then  the Requisition document goes to FINAL
  Examples:
      | account_number    | object_code | item_quantity |
      | 1278003           | 6570        | 4.9           |
      | R589854           | 6540        | 7.5           |

  @KFSQA-737 @KFSQA-738 @purap @cornell @slug @wip
  Scenario Outline: Create -- non eShop - recurring payment, C&G account, not Commodity
    Given I login as a KFS user to create an REQS
    And   I create the Requisition document with:
      | vendor number       | 4471-0           |
      | item quanity        | 7.5              |
      | item cost           | 1000             |
      | item commodity code | 10161500         |
      | item catalog number | 10121800         |
      | item description    | Dog Food         |
      | account number      | 1278003          |
      | object code         | 6570             |
      | percent             | 100              |
    And   I enter Payment Information for recurring payment type <recurring_payment_type>
    And   I add an Attachment to the Requisition document
    And   I enter Delivery Instructions and Notes to Vendor
    And   I calculate my Requisition document
    And   I submit the Requisition document
    Then  the requisition document goes to ENROUTE
#   FO approve
    And   I switch to the user with the next Pending Action in the Route Log for the Requisition document
    And   I view the Requisition document on my action list<commit_msg>[KFSQA-738] remove wip<commit_after>Feature: Purap REQS 2 Building Blocks

  [KFSQA-733] Create -- non eShop with C&G, Commodity routing

  [KFSQA-734] Create -- non eShop with not C&G amount, Commodity routing

  [KFSQA-735] Create -- non eShop with not C&G account, Commodity routing

  [KFSQA-737] Create -- non eShop with C&G account, not Commodity

  [KFSQA-738] PURAP E2E REQS - Create -- non eShop- with Recurring Payment, C&G, not Commodity

  @KFSQA-733 @purap @cornell @tortoise
  Scenario: Create -- non eShop with C&G, Commodity routing
    Given I login as a KFS user to create an REQS
    And   I create the Requisition document with:
    | vendor number       | 4471-0   |
    | item quanity        | 7.5      |
    | item cost           | 1000     |
    | item commodity code | 12142203 |
    | item catalog number | 10101157 |
    | item description    | ANIM     |
    | account number      | 1278003  |
    | object code         | 6570     |
    | percent             | 100      |
    And   I add an Attachment to the Requisition document
    And   I enter Delivery Instructions and Notes to Vendor
    And   I calculate my Requisition document
    And   I submit the Requisition document
    Then  the requisition document goes to ENROUTE
    #   FO approve
    And   I switch to the user with the next Pending Action in the Route Log for the Requisition document
    And   I view the Requisition document on my action list
    And   I approve the Requisition document
    Then  the Requisition document goes to ENROUTE
   # Contracts & Grants Processor approve
    And   I switch to the user with the next Pending Action in the Route Log for the Requisition document
    And   I view the Requisition document on my action list
    And   I approve the Requisition document
    And   the Requisition document goes to ENROUTE
    # commodity reviewer
    And   I switch to the user with the next Pending Action in the Route Log for the Requisition document
    And   I view the Requisition document on my action list
    And   I approve the Requisition document
    Then  the Requisition document goes to FINAL

  @KFSQA-734 @KFSQA-735 @purap @cornell @slug
  Scenario Outline: Create -- non eShop with not C&G amount or account , Commodity routing
    Given I login as a KFS user to create an REQS
    And   I create the Requisition document with:
      | vendor number       | 4471-0           |
      | item quanity        | <item_quantity>  |
      | item cost           | 1000             |
      | item commodity code | 12142203         |
      | item catalog number | 10101157         |
      | item description    | ANIM             |
      | account number      | <account_number> |
      | object code         | <object_code>    |
      | percent             | 100              |
    And   I add an Attachment to the Requisition document
    And   I enter Delivery Instructions and Notes to Vendor
    And   I calculate my Requisition document
    And   I submit the Requisition document
    Then  the requisition document goes to ENROUTE
#   FO approve
    And   I switch to the user with the next Pending Action in the Route Log for the Requisition document
    And   I view the Requisition document on my action list
    And   I approve the Requisition document
    Then  the Requisition document goes to ENROUTE
    # commodity reviewer
    And   I switch to the user with the next Pending Action in the Route Log for the Requisition document
    And   I view the Requisition document on my action list
    And   I approve the Requisition document
    Then  the Requisition document goes to FINAL
  Examples:
      | account_number    | object_code | item_quantity |
      | 1278003           | 6570        | 4.9           |
      | R589854           | 6540        | 7.5           |

  @KFSQA-737 @KFSQA-738 @purap @cornell @slug
  Scenario Outline: Create -- non eShop - recurring payment, C&G account, not Commodity
    Given I login as a KFS user to create an REQS
    And   I create the Requisition document with:
      | vendor number       | 4471-0           |
      | item quanity        | 7.5              |
      | item cost           | 1000             |
      | item commodity code | 10161500         |
      | item catalog number | 10121800         |
      | item description    | Dog Food         |
      | account number      | 1278003          |
      | object code         | 6570             |
      | percent             | 100              |
    And   I enter Payment Information for recurring payment type <recurring_payment_type>
    And   I add an Attachment to the Requisition document
    And   I enter Delivery Instructions and Notes to Vendor
    And   I calculate my Requisition document
    And   I submit the Requisition document
    Then  the requisition document goes to ENROUTE
#   FO approve
    And   I switch to the user with the next Pending Action in the Route Log for the Requisition document
    And   I view the Requisition document on my action list
{'fraction_non_alphanumeric': 0.03965723395775209, 'fraction_numerical': 0.033579115185332804, 'mean_word_length': 2.070357907617008, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4106594', 'n_tokens_mistral': 3077, 'n_tokens_neox': 2653, 'n_words': 1252}