<commit_before>Feature: user
  In order to manage my information
  As a logged user
  I need to be able to view and change my information

  @user
  Scenario: User management should not be accessible if not logged
    Given I am on "/user"
    Then I should be on "/login"

  @user @see
  Scenario Outline: User should be able to logout
    Given I am logged as <username> - <password>
    Then I should be on "/login"
    And I should see "Wrong"
    And I should not see "Homer"

    Examples:
      | username                   | password |
      | "<EMAIL>" | "1234"   |
      | "<EMAIL>"    | "123"    |

  @user
  Scenario: Wrong login
    Given I am logged as "<EMAIL>" - "1234"
    And I am on "/user"
    Then I should be on "/user"
    And I should see "Profile"
    And I should see "My orders"
    And I should see "My addresses"

  @user
  Scenario: User management should be accessible if logged
    Given I am logged as "<EMAIL>" - "1234"
    And I am on "/user"
    Then I should be on "/user"
    And I should see "Profile"
    And I should see "My orders"
    And I should see "My addresses"

  @user
  Scenario: User logged should see its data in edit tab<commit_msg>Scenario fixed<commit_after>Feature: user
  In order to manage my information
  As a logged user
  I need to be able to view and change my information

  @user
  Scenario: User management should not be accessible if not logged
    Given I am on "/user"
    Then I should be on "/login"

  @user
  Scenario: User should be able to logout
    Given I am logged as "<EMAIL>" - "1234"
    Then I should be on "/login"
    And I should see "Wrong"
    And I should not see "Homer"

  @user
  Scenario: Wrong login
    Given I am logged as "<EMAIL>" - "1234"
    And I am on "/user"
    Then I should be on "/user"
    And I should see "Profile"
    And I should see "My orders"
    And I should see "My addresses"

  @user
  Scenario: User management should be accessible if logged
    Given I am logged as "<EMAIL>" - "1234"
    And I am on "/user"
    Then I should be on "/user"
    And I should see "Profile"
    And I should see "My orders"
    And I should see "My addresses"

  @user
  Scenario: User logged should see its data in edit tab
{'fraction_non_alphanumeric': 0.07409070498428379, 'fraction_numerical': 0.012123933542882801, 'mean_word_length': 2.4758190327613105, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '7518519', 'n_tokens_mistral': 695, 'n_tokens_neox': 660, 'n_words': 351}