<commit_before>@UserTests
Feature: User Tests


  Scenario: User should be able to create an account
    Given I have logged in as administrator

    When I try to create a user with:
      | username | firstName | lastName | email                      | timezone | verified | active | loginRestricted |
      | TestUser | FirstN    | LastN    | <EMAIL> | CET      | false    | false  | false           |
    Then I should get response with the user’s id

    When I try to get user with id
    Then I should get user with:
      | username | firstName | lastName | email                      | timezone | verified | active | loginRestricted |
      | TestUser | FirstN    | LastN    | <EMAIL> | CET      | false    | false  | false           |

    When I try to set user password
    Then I should get correct response
    And I logout

    Given I have logged in as TestUser
    Given I logout
<commit_msg>OLMIS-1694: Remove setting user's password from test since it's no longer a part of referencedata<commit_after>@UserTests
Feature: User Tests


  Scenario: User should be able to create an profile
    Given I have logged in as administrator

    When I try to create a user with:
      | username | firstName | lastName | email                      | timezone | verified | active | loginRestricted |
      | TestUser | FirstN    | LastN    | <EMAIL> | CET      | false    | false  | false           |
    Then I should get response with the user’s id

    When I try to get user with id
    Then I should get user with:
      | username | firstName | lastName | email                      | timezone | verified | active | loginRestricted |
      | TestUser | FirstN    | LastN    | <EMAIL> | CET      | false    | false  | false           |

    And I logout
{'fraction_non_alphanumeric': 0.057724957555178265, 'fraction_numerical': 0.0022637238256932655, 'mean_word_length': 1.9814502529510962, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '263701', 'n_tokens_mistral': 484, 'n_tokens_neox': 459, 'n_words': 209}