<commit_before>Feature: New user registration
  As a newbie
  I want to register on MyChores
  So that I can use its wonderful goodness

  Scenario: New user creates registration
    Given I am not logged in
    When I click on 'Register'
    Then I should see the text 'Register'
    When I fill in 'Desired login ID' with 'aimee'
    And I fill in 'Name' with 'Aimee'
    And I fill in 'Choose password' with '<PASSWORD>'
    And I fill in 'Confirm password' with '<PASSWORD>'
    And I fill in 'Email address' with '<EMAIL>'
    And I click the 'Register' button
    Then I should see the text 'Hi Aimee, thank you for signing up with MyChores'

  Scenario: Test login ID validation
    Given I am not logged in
    When I click on 'Register'
    And I click the 'Register' button
    Then I should see the text 'Login is too short \(minimum is 3 characters\)'
    And I should NOT see the text 'Login can\'t be blank'
    When I fill in 'Desired login ID' with '!!!!!'
    And I click the 'Register' button
    Then I should see the text 'Login can only contain letters and numbers'
    And I should NOT see the text 'Login is too short \(minimum is 3 characters\)'
    When I fill in 'Desired login ID' with 'good_login'
    And I click the 'Register' button
    Then I should NOT see the text 'Login can only contain letters and numbers'
    And I should NOT see the text 'Login is too short \(minimum is 3 characters\)'
    
  Scenario: Test duplicate logins (including with different case sensitivity)
    Given a person called 'Aimee' with login ID 'sermoa'
    And I am not logged in
    When I click on 'Register'
    And I fill in 'Desired login ID' with 'sermoa'
    And I click the 'Register' button
    Then I should see the text 'Login has already been taken'
    And I fill in 'Desired login ID' with 'SermOa'
    And I click the 'Register' button
    Then I should see the text 'Login has already been taken'
  
  Scenario: Test name validation
    Given I am not logged in
    When I click on 'Register'
    And I click the 'Register' button
    Then I should see the text 'Name can\'t be blank'
    When I fill in 'Name' with 'Blatantly far too long to ever be acceptable - you just know this is totally going to FAIL!'
    And I click the 'Register' button
    Then I should see the text 'Name is too long \(maximum is 40 characters\)'
    When I fill in 'Name' with '!@£\$%)(*$ <= acceptable!'
    And I click the 'Register' button
    Then I should NOT see the text 'Name can\'t be blank'
    And I should NOT see the text 'Name is too long \(maximum is 40 characters\)'
  
  Scenario: Test password validation
    Given I am not logged in
    When I click on 'Register'
    And I click the 'Register' button
    Then I should see the text 'Password is too short \(minimum is 5 characters\)'
    And I should NOT see the text 'Password can\'t be blank'
    When I fill in 'Choose password' with '<PASSWORD>'
    And I click the 'Register' button
    Then I should see the text 'Password doesn\'t match confirmation'
    And I should NOT see the text 'Password confirmation can\'t be blank'
    When I fill in 'Confirm password' with '<PASSWORD>'
    And I click the 'Register' button
    Then I should see the text 'Password doesn\'t match confirmation'
    When I fill in 'Choose password' with '<PASSWORD>'
    And I click the 'Register' button
    Then I should NOT see the text 'Password doesn\'t match confirmation'
    
  Scenario: Test email validation
    Given I am not logged in
    When I click on 'Register'
    And I click the 'Register' button
    Then I should see the text 'Email can\'t be blank'
    And I should NOT see the text 'Email seems to be invalid'
    When I fill in 'Email' with 'not_even_an_email_address'
    And I click the 'Register' button
    Then I should see the text 'Email seems to be invalid'
    And I should NOT see the text 'Email can\'t be blank'
    When I fill in 'Email' with 'wrong@verywrong'
    And I click the 'Register' button
    Then I should see the text 'Email seems to be invalid'
    When I fill in 'Email' with '<EMAIL>'
    And I click the 'Register' button
    Then I should NOT see the text 'Email seems to be invalid'
    And I should NOT see the text 'Email can\'t be blank'
  <commit_msg>Added another email test.<commit_after>Feature: New user registration
  As a newbie
  I want to register on MyChores
  So that I can use its wonderful goodness

  Scenario: New user creates registration
    Given I am not logged in
    When I click on 'Register'
    Then I should see the text 'Register'
    When I fill in 'Desired login ID' with 'aimee'
    And I fill in 'Name' with 'Aimee'
    And I fill in 'Choose password' with '<PASSWORD>'
    And I fill in 'Confirm password' with '<PASSWORD>'
    And I fill in 'Email address' with '<EMAIL>'
    And I click the 'Register' button
    Then I should see the text 'Hi Aimee, thank you for signing up with MyChores'

  Scenario: Test login ID validation
    Given I am not logged in
    When I click on 'Register'
    And I click the 'Register' button
    Then I should see the text 'Login is too short \(minimum is 3 characters\)'
    And I should NOT see the text 'Login can\'t be blank'
    When I fill in 'Desired login ID' with '!!!!!'
    And I click the 'Register' button
    Then I should see the text 'Login can only contain letters and numbers'
    And I should NOT see the text 'Login is too short \(minimum is 3 characters\)'
    When I fill in 'Desired login ID' with 'good_login'
    And I click the 'Register' button
    Then I should NOT see the text 'Login can only contain letters and numbers'
    And I should NOT see the text 'Login is too short \(minimum is 3 characters\)'
    
  Scenario: Test duplicate logins (including with different case sensitivity)
    Given a person called 'Aimee' with login ID 'sermoa'
    And I am not logged in
    When I click on 'Register'
    And I fill in 'Desired login ID' with 'sermoa'
    And I click the 'Register' button
    Then I should see the text 'Login has already been taken'
    And I fill in 'Desired login ID' with 'SermOa'
    And I click the 'Register' button
    Then I should see the text 'Login has already been taken'
  
  Scenario: Test name validation
    Given I am not logged in
    When I click on 'Register'
    And I click the 'Register' button
    Then I should see the text 'Name can\'t be blank'
    When I fill in 'Name' with 'Blatantly far too long to ever be acceptable - you just know this is totally going to FAIL!'
    And I click the 'Register' button
    Then I should see the text 'Name is too long \(maximum is 40 characters\)'
    When I fill in 'Name' with '!@£\$%)(*$ <= acceptable!'
    And I click the 'Register' button
    Then I should NOT see the text 'Name can\'t be blank'
    And I should NOT see the text 'Name is too long \(maximum is 40 characters\)'
  
  Scenario: Test password validation
    Given I am not logged in
    When I click on 'Register'
    And I click the 'Register' button
    Then I should see the text 'Password is too short \(minimum is 5 characters\)'
    And I should NOT see the text 'Password can\'t be blank'
    When I fill in 'Choose password' with '<PASSWORD>'
    And I click the 'Register' button
    Then I should see the text 'Password doesn\'t match confirmation'
    And I should NOT see the text 'Password confirmation can\'t be blank'
    When I fill in 'Confirm password' with '<PASSWORD>'
    And I click the 'Register' button
    Then I should see the text 'Password doesn\'t match confirmation'
    When I fill in 'Choose password' with '<PASSWORD>'
    And I click the 'Register' button
    Then I should NOT see the text 'Password doesn\'t match confirmation'
    
  Scenario: Test email validation
    Given I am not logged in
    When I click on 'Register'
    And I click the 'Register' button
    Then I should see the text 'Email can\'t be blank'
    And I should NOT see the text 'Email seems to be invalid'
    When I fill in 'Email' with 'not_even_an_email_address'
    And I click the 'Register' button
    Then I should see the text 'Email seems to be invalid'
    And I should NOT see the text 'Email can\'t be blank'
    When I fill in 'Email' with '<PASSWORD>'
    And I click the 'Register' button
    Then I should see the text 'Email seems to be invalid'
    When I fill in 'Email' with '<EMAIL>'
    And I click the 'Register' button
    Then I should NOT see the text 'Email seems to be invalid'
    And I should NOT see the text 'Email can\'t be blank'
    When I fill in 'Email' with '<EMAIL>'
    And I click the 'Register' button
    Then I should NOT see the text 'Email seems to be invalid'
    And I should NOT see the text 'Email can\'t be blank'
  
{'fraction_non_alphanumeric': 0.06257136332496004, 'fraction_numerical': 0.0018269011189769354, 'mean_word_length': 3.0068618481244282, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 19, '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': '5613868', 'n_tokens_mistral': 2435, 'n_tokens_neox': 2388, 'n_words': 1443}