<commit_before>Feature: Play a tutorial
  As a new user who wants to play
  I want to be able to learn how to play the giving game through the tutorial
  So that I can understand the concept of the game and start donating
  
  Background: tutorial exists 
    Given I am on the home page
    And the following games exist:
    | title                   | description                                 | charityA_title | charityB_title |
    | Tutorial                | 'This is the tutorial for the Giving Game'  | Charity A      | Charity B      | 
    | Tutorial 2              | 'This is another tutorial!'                 | Charity 1      | Charity 2      |
  
  Scenario: Go to the tutorial page
    When I follow "Play Tutorial"
    Then I should be on the tutorial page

  Scenario: Play the sample game
    When I follow "Play Tutorial"
    And I press "Donate to Charity A"
    Then I should be on the tutorial results page
    And I should see "You have successfully donated!"

  Scenario: Select and play from multiple tutorials
    Given I am on the home page
    When I choose "Tutorial" from the dropdown menu in the navbar
    And I press "Go"
    Then The tutorial titled "Tutorial" should be there
    Given I am on the home page
    When I choose "Tutorial 2" from the dropdown menu in the navbar
    And I press "Go"<commit_msg>feature step should be 'results page' not 'tutorial results page'<commit_after>Feature: Play a tutorial
  As a new user who wants to play
  I want to be able to learn how to play the giving game through the tutorial
  So that I can understand the concept of the game and start donating
  
  Background: tutorial exists 
    Given I am on the home page
    And the following games exist:
    | title                   | description                                 | charityA_title | charityB_title |
    | Tutorial                | 'This is the tutorial for the Giving Game'  | Charity A      | Charity B      | 
    | Tutorial 2              | 'This is another tutorial!'                 | Charity 1      | Charity 2      |
  
  Scenario: Go to the tutorial page
    When I follow "Play Tutorial"
    Then I should be on the tutorial page

  Scenario: Play the sample game
    When I follow "Play Tutorial"
    And I press "Donate to Charity A"
    Then I should be on the results page
    And I should see "You have successfully donated!"

  Scenario: Select and play from multiple tutorials
    Given I am on the home page
    When I choose "Tutorial" from the dropdown menu in the navbar
    And I press "Go"
    Then The tutorial titled "Tutorial" should be there
    Given I am on the home page
    When I choose "Tutorial 2" from the dropdown menu in the navbar
    And I press "Go"
{'fraction_non_alphanumeric': 0.03658982802780827, 'fraction_numerical': 0.0029271862422246614, 'mean_word_length': 2.2126909518213864, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1184617', 'n_tokens_mistral': 725, 'n_tokens_neox': 689, 'n_words': 399}