<commit_before>Feature: Signup as an individual member

  Scenario: Individual member does not see specific fields

    Given I want to sign up as an individual member
    When I visit the signup page
    Then I should not see the "Organisation Name" field
    And I should not see the "Organisation size" field
    And I should not see the "Company Number" field
    And I should not see the "VAT Number (if not UK)" field
    And I should not see the "Purchase Order Number" field
    And the terms and conditions should be correct
    And the submit button should say "Pay now"

  @javascript
  Scenario: Auto-update terms based on user input

    Given I want to sign up as an individual member
    When I visit the signup page
    And I enter my details
    Then I should see "You agree to comply with these terms and conditions"
    And I should see "means <NAME> of 123 Fake Street, Faketown, Fakeshire, United Kingdom, FAKE 123"

  @vcr
  Scenario: Member signup

    Given I want to sign up as an individual member
    When I visit the signup page
    And I enter my details
    And I enter valid credit card details
    And I should see a link to the right to cancel
    Then my details should be queued for further processing
    When I click sign up
    Then my card should be charged successfully
    And I should have a membership number generated
    And I should see my details
    And a welcome email should be sent to me
    And I should see "download an ODI Supporter badge" in the email body

  @vcr
  Scenario: Individual members should not have an organisation assigned

    Given I want to sign up as an individual member
    When I visit the signup page
    And I enter my details
    And I enter valid credit card details
    And I click sign up
    Then I should not have an organisation assinged to me<commit_msg>Expect more fields and change button text<commit_after>Feature: Signup as an individual member

  Scenario: Individual member does not see specific fields

    Given I want to sign up as an individual member
    When I visit the signup page
    Then I should not see the "Organisation Name" field
    And I should not see the "Organisation size" field
    And I should not see the "Organisation type" field
    And I should not see the "Industry sector" field
    And I should not see the "Company Number" field
    And I should not see the "VAT Number (if not UK)" field
    And I should not see the "Purchase Order Number" field
    And the terms and conditions should be correct
    And the submit button should say "Become an ODI member"

  @javascript
  Scenario: Auto-update terms based on user input

    Given I want to sign up as an individual member
    When I visit the signup page
    And I enter my details
    Then I should see "You agree to comply with these terms and conditions"
    And I should see "means Ian McIain of 123 Fake Street, Faketown, Fakeshire, United Kingdom, FAKE 123"

  @vcr
  Scenario: Member signup

    Given I want to sign up as an individual member
    When I visit the signup page
    And I enter my details
    And I enter valid credit card details
    And I should see a link to the right to cancel
    Then my details should be queued for further processing
    When I click sign up
    Then my card should be charged successfully
    And I should have a membership number generated
    And I should see my details
    And a welcome email should be sent to me
    And I should see "download an ODI Supporter badge" in the email body

  @vcr
  Scenario: Individual members should not have an organisation assigned

    Given I want to sign up as an individual member
    When I visit the signup page
    And I enter my details
    And I enter valid credit card details
    And I click sign up
    Then I should not have an organisation assinged to me
{'fraction_non_alphanumeric': 0.020349595617010174, 'fraction_numerical': 0.0031307070180015655, 'mean_word_length': 3.0443037974683542, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '2344549', 'n_tokens_mistral': 984, 'n_tokens_neox': 950, 'n_words': 638}