<commit_before><commit_msg>Add project feature tests added<commit_after>Feature: addproject
    In order to organise my WIPs
    As a registered user
    I need to be able to add a new project

    Background:
        Given I am logged in as "username"

    Scenario: Add a new project
        Given I am on "project/add"
        And I should see "Add Project"
        And I should not see a "#kohana_error" element
        When I fill in the following:
            | name    | name    |
            | summary | summary |
        And I press "Add"
        Then I should be on "project/view"
        And I should not see a "#kohana_error" element

    Scenario: Add a new project with invalid data
        Given I am on "project/add"
        And I should see "Add Project"
        And I should not see a "#kohana_error" element
        When I press "Add"
        Then I should see "Add Project"
        And I should see "A project name is required."
        And I should see "A project summary is required."
        And I should not see a "#kohana_error" element

    Scenario: Visit the add project page whilst logged out
        Given I am logged out
        When I go to "project/add"
        Then I should see "Login"
        And I should not see a "#kohana_error" element
{'fraction_non_alphanumeric': 0.050980392156862744, 'fraction_numerical': 0.0, 'mean_word_length': 2.0746987951807228, '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': '4198222', 'n_tokens_mistral': 344, 'n_tokens_neox': 339, 'n_words': 181}