<commit_before>Feature: Leaving comment to everything

  As a As common user
  I want to see if reputation rating is showing properly
  In order to manipulate reputation rating
  #Main user is John
  Background:
    Given the user is logged in
    Given a person exists with name: "Maria"
    Given "John" is the owner of item with name "Mobile"
    And "Maria" is the owner of item with name "Bike"
    When "Maria" requested item with name "Mobile" from "John"
    And I follow "home"

  Scenario: Showing no comment add link
    Then I should not see "Add comment"
  @javascript
  Scenario: Add comment on current request don't create recent activity
    When I fill in the following:
     | comment   | My comment opinion |
    And I submit the comment
    And I wait until all Ajax requests are complete
    Then I should not see "commented on the request"
  @javascript
  Scenario: Add comment on current request
    When I fill in the following:
     | comment   | My comment opinion |
    And I submit the comment
    And I wait until all Ajax requests are complete
    Then I should see "My comment opinion"

  @javascript
  Scenario: Showing add comment on item request, leaving comment
    Then I follow "view request"
    When I fill in the following:
     | comment   | My comment opinion |
    And I submit the comment
    And I wait until all Ajax requests are complete
    Then I should see "My comment opinion"
    @javascript
  Scenario: Commenting event log
    And Looking at my person page
    And I should see "accept"
    And I follow "accept"
    And I should see "There are no unanswered requests"
    Then I am on the dashboard page
    And I follow "complete"
    And I should see "Later"
    And I follow "Later"
    And I follow "home"
    And I should see "comments(0)"<commit_msg>Comments feature<commit_after>Feature: Leaving comment to everything

  As a As common user
  I want to see if reputation rating is showing properly
  In order to manipulate reputation rating
  #Main user is John
  Background:
    Given the user is logged in
    Given a person exists with name: "Maria"
    Given "John" is the owner of item with name "Mobile"
    And "Maria" is the owner of item with name "Bike"
    When "Maria" requested item with name "Mobile" from "John"
    And I follow "home"

  Scenario: Showing no comment add link
    Then I should not see "Add comment"
  @javascript
  Scenario: Add comment on current request don't create recent activity
    When I fill in the following:
     | comment   | My comment opinion |
    And I submit the comment
    #    And I wait until all Ajax requests are complete
    Then I should not see "commented on the request"
  @javascript
  Scenario: Add comment on current request
    When I fill in the following:
     | comment   | My comment opinion |
    And I submit the comment
    #And I wait until all Ajax requests are complete
    Then I should see "My comment opinion"

  @javascript
  Scenario: Showing add comment on item request, leaving comment
    Then I follow "view request"
    When I fill in the following:
     | comment   | My comment opinion |
    And I submit the comment
    And I wait until all Ajax requests are complete
    Then I should see "My comment opinion"
    @javascript
  Scenario: Commenting event log
    And Looking at my person page
    And I should see "accept"
    And I follow "accept"
    And I should see "There are no unanswered requests"
    Then I am on the dashboard page
    And I follow "complete"
    And I should see "Later"
    And I follow "Later"
    And I follow "home"
    And I should see "comments(0)"
{'fraction_non_alphanumeric': 0.04241255852382264, 'fraction_numerical': 0.000550812448361333, 'mean_word_length': 2.9392624728850327, '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': '2067779', 'n_tokens_mistral': 970, 'n_tokens_neox': 936, 'n_words': 552}