<commit_before>Feature: Edit existing giving games
  As a user who made a giving game
  So that I can provide new updated information on my existing and current giving games
  I want to be able to edit my giving game
  
  Background: Users with games exist
    
    Given the following users exist:
      | username    |     email             |     giving_game_titles               |
      | <NAME>  |  <EMAIL>        |         "Game 1", "Game 2"           |
    
    #Happy Path
    Scenario: Edit a game
      When I am on the user page for "<NAME>"
      And I go to the games of user page for "Trader Joe"
      And I go to the edit page for "Game 1"
      And I fill in "Title" with "Game 1000"
      And I press "Finish"
      Then I should be on the games of user page for "Trader Joe"
      And I should see "Successfully edited."
      
    #Sad Path
    Scenario: Attempt to edit a game
      When I am on the user page for "Trader Joe"
      And I go to the games of user page for "Trader Joe"
      And I go to the edit page for "Game 1"
      And I fill in "Title" with "Game 2"
      And I press "Finish"
      Then I should be on the games of user page for "Trader Joe"
      And I should see "The title \"Game 2\" is already taken."<commit_msg>fixed that one step in edit game feature<commit_after>Feature: Edit existing giving games
  As a user who made a giving game
  So that I can provide new updated information on my existing and current giving games
  I want to be able to edit my giving game
  
  Background: Users with games exist
    
    Given the following users exist:
      | username    |     email             |     giving_game_titles               |
      | <NAME>  |  <EMAIL>        |         "Game 1", "Game 2"           |
    
    #Happy Path
    Scenario: Edit a game
      When I am on the user page for "<NAME>"
      And I go to the games of user page for "Trader Joe"
      And I go to the edit page for "Game 1"
      And I fill in "Title" with "Game 1000"
      And I press "Finish"
      Then I should be on the games of user page for "Trader Joe"
      And I should see "Successfully edited."
      
    #Sad Path
    Scenario: Attempt to edit a game
      When I am on the user page for "Trader Joe"
      And I go to the games of user page for "Trader Joe"
      And I go to the edit page for "Game 1"
      And I fill in "Title" with "Game 2"
      And I press "Finish"
      Then I should be on the games of user page for "Trader Joe"
      And I should see "The title Game 2 is already taken."
{'fraction_non_alphanumeric': 0.051120723554856466, 'fraction_numerical': 0.007864726700747149, 'mean_word_length': 2.00709219858156, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7131593', 'n_tokens_mistral': 732, 'n_tokens_neox': 701, 'n_words': 408}