<commit_before>Feature: User authentication
  In order to ensure access to the application for authorized users only
  Users should be able to log in to the system
  Which requires them to submit proper credentials to the application's authentication system via the login form

  @insulated
  Scenario: Login
    Given I am on the Ilios home page
    When I log in as "zero_user" with password "<PASSWORD>"
    # post-login you should be on the dashboard
    Then I should be on "/dashboard_controller"

  @insulated
  Scenario: Login without credentials
    Given I am on the Ilios home page
    When I log in as "" with password ""
    # submitting the form without creds should take you right back to it, with an error message being displayed on the page.
    Then I should be on "authentication_controller/login"
    And I should see "The user name and/or password entered were not valid."

  @insulated<commit_msg>more granular steps to make sure it isn't failing in an unexpected way<commit_after>Feature: User authentication
  In order to ensure access to the application for authorized users only
  Users should be able to log in to the system
  Which requires them to submit proper credentials to the application's authentication system via the login form

  @insulated
  Scenario: Login
    Given I am on the Ilios home page
    # When I log in as "zero_user" with password "<PASSWORD>"
    # post-login you should be on the dashboard
    And I follow "Login"
    And I fill in "zero_user" for "User Name"
    And I fill in "<PASSWORD>" for "Password"
    And I press "login_button"
    Then I should be on "/dashboard_controller"

  @insulated
  Scenario: Login without credentials
    Given I am on the Ilios home page
    When I log in as "" with password ""
    # submitting the form without creds should take you right back to it, with an error message being displayed on the page.
    Then I should be on "authentication_controller/login"
    And I should see "The user name and/or password entered were not valid."

  @insulated
{'fraction_non_alphanumeric': 0.042053789731051346, 'fraction_numerical': 0.0, 'mean_word_length': 3.5365853658536586, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '3822601', 'n_tokens_mistral': 525, 'n_tokens_neox': 512, 'n_words': 304}