<commit_before>@inquiries @inquiries-manage
Feature: Manage Inquiries
  In order to see inquiries left for me on my website
  As an Administrator
  I want to manage inquiries

  Background:
    Given I am a logged in refinery user
    And I have no inquiries
    And I have an inquiry from "<NAME>" with email "<EMAIL>" and message "Hello, I really like your website.  Was it hard to build and maintain or could anyone do it?"

  Scenario: Inquiries List
    When I go to the list of inquiries
    Then I should see "<NAME> said Hello, I really like your website. Was it hard to build ..."
    And I should have 1 inquiries
    And I should not see "Create"

  Scenario: Spam List
    When I go to the list of inquiries
    And I follow "Spam"
    Then I should see "Hooray! You don't have any spam."

  @inquiry-settings
  Scenario: Updating who gets notified
    When I go to the list of inquiries
    And I follow "Update who gets notified"
    And I fill in "Send notifications to" with "<EMAIL>"
    And I press "Save"
    Then I should be redirected back to "the list of inquiries"
    And I should see "'Notification Recipients' was successfully updated."
    And I should be on the list of inquiries

  @inquiry-settings
  Scenario: Updating confirmation email copy
    When I go to the list of inquiries
    And I follow "Edit confirmation email"
    And I fill in "Message" with "Thanks %name%! We'll never get back to you!"
    And I press "Save"
    Then I should be redirected back to "the list of inquiries"
    And I should see "'Confirmation Body' was successfully updated."
    And I should be on the list of inquiries

  Scenario: Inquiries Show
    When I go to the list of inquiries
    And I follow "Read the inquiry"
    Then I should see "From <NAME> [<EMAIL>]"<commit_msg>Update feature for newest verbiage.<commit_after>@inquiries @inquiries-manage
Feature: Manage Inquiries
  In order to see inquiries left for me on my website
  As an Administrator
  I want to manage inquiries

  Background:
    Given I am a logged in refinery user
    And I have no inquiries
    And I have an inquiry from "<NAME>" with email "<EMAIL>" and message "Hello, I really like your website.  Was it hard to build and maintain or could anyone do it?"

  Scenario: Inquiries List
    When I go to the list of inquiries
    Then I should see "<NAME> said Hello, I really like your website. Was it hard to build ..."
    And I should have 1 inquiries
    And I should not see "Add"

  Scenario: Spam List
    When I go to the list of inquiries
    And I follow "Spam"
    Then I should see "Hooray! You don't have any spam."

  @inquiry-settings
  Scenario: Updating who gets notified
    When I go to the list of inquiries
    And I follow "Update who gets notified"
    And I fill in "Send notifications to" with "<EMAIL>"
    And I press "Save"
    Then I should be redirected back to "the list of inquiries"
    And I should see "'Notification Recipients' was successfully updated."
    And I should be on the list of inquiries

  @inquiry-settings
  Scenario: Updating confirmation email copy
    When I go to the list of inquiries
    And I follow "Edit confirmation email"
    And I fill in "Message" with "Thanks %name%! We'll never get back to you!"
    And I press "Save"
    Then I should be redirected back to "the list of inquiries"
    And I should see "'Confirmation Body' was successfully updated."
    And I should be on the list of inquiries

  Scenario: Inquiries Show
    When I go to the list of inquiries
    And I follow "Read the inquiry"
    Then I should see "From <NAME> [<EMAIL>]"
{'fraction_non_alphanumeric': 0.052893935198006094, 'fraction_numerical': 0.0005538631957906397, 'mean_word_length': 3.1232876712328768, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '2993948', 'n_tokens_mistral': 1061, 'n_tokens_neox': 966, 'n_words': 577}