<commit_before>require 'spec_helper'

describe 'LDAP Authentication', :js => true do
  context "with normal user" do
    before do
      visit '/'
      page.should have_content('Sign in')
      fill_in 'Email', :with => "<EMAIL>"
      fill_in 'Password', :with => "<PASSWORD>"
      click_on 'Sign in'
    end
    
    it "logins in to the application with ldap user" do
      page.should have_content('System Summary')
    end<commit_msg>fixed name of label for email field<commit_after>require 'spec_helper'

describe 'LDAP Authentication', :js => true do
  context "with normal user" do
    before do
      visit '/'
      page.should have_content('Sign in')
      fill_in 'E-Mail', :with => "<EMAIL>"
      fill_in 'Password', :with => "<PASSWORD>"
      click_on 'Sign in'
    end
    
    it "logins in to the application with ldap user" do
      page.should have_content('System Summary')
    end
{'fraction_non_alphanumeric': 0.11160220994475138, 'fraction_numerical': 0.0, 'mean_word_length': 2.9391304347826086, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, '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': '6189863', 'n_tokens_mistral': 277, 'n_tokens_neox': 274, 'n_words': 95}