<commit_before>Feature: Get work order
  As a volunteer
  I want enter the work order code
  So I obtain the list of items to get for the care package

Background:
  Given the following work order with order number "123" exists
  | item                  | quantity |
  | Bananas               | 5.0      |
  | Gas Card              | 1.0      |

Scenario: select valid work order
  Given I am on the Work Order page
  When I fill in "WorkOrderCode" with "123"
  And I press "Select Code"
  Then I should be on the Item List page for order number "123"

Scenario: non-numeric work order
  Given I am on the Work Order page
  When I fill in "WorkOrderCode" with "DOESNTWORK"
  And I press "Select Code"
  Then I should be on the Work Order page
  And I should see "Not a numeric work order"

Scenario: select invalid work order
  Given I am on the Work Order page
  When I fill in "WorkOrderCode" with "000002"
  And I press "Select Code"
  Then I should be on the Work Order page
  And I should see "Invalid work order code"<commit_msg>Fixed work_order_page.feature. Still outputs Salesforce response<commit_after>Feature: Get work order
  As a volunteer
  I want enter the work order code
  So I obtain the list of items to get for the care package

Background:
  Given the following work order with order number "123" exists
  | item                  | quantity |
  | Bananas               | 5.0      |
  | Gas Card              | 1.0      |

Scenario: select valid work order
  Given I am on the Work Order page
  When I fill in "work_order_WorkOrderCode" with "123"
  And I press "Select Code"
  Then I should be on the Item List page for order number "123"

Scenario: non-numeric work order
  Given I am on the Work Order page
  When I fill in "work_order_WorkOrderCode" with "DOESNTWORK"
  And I press "Select Code"
  Then I should be on the Work Order page
  And I should see "Not a numeric work order"

Scenario: select invalid work order
  Given I am on the Work Order page
  When I fill in "work_order_WorkOrderCode" with "000002"
  And I press "Select Code"
  Then I should be on the Work Order page
  And I should see "Invalid work order code"
{'fraction_non_alphanumeric': 0.0436397400185701, 'fraction_numerical': 0.017641597028783658, 'mean_word_length': 2.8209219858156027, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7298049', 'n_tokens_mistral': 634, 'n_tokens_neox': 605, 'n_words': 338}