<commit_before>var protractor = require('protractor');

describe('my app', function () {
  var ptor;
  describe('logging in', function () {
    ptor = protractor.getInstance();

    beforeEach(function () {
      ptor.get('/');
    });

    it('should authenticate', function() {
      ptor.findElement(protractor.By.input('credentials.username')).sendKeys('Ralph');
      ptor.findElement(protractor.By.input('credentials.password')).sendKeys('<PASSWORD>');

      ptor.findElement(protractor.By.id('log-in')).click()
      var message = ptor.findElement(protractor.By.css('.alert-box')).getText().then(function(text) {
        expect(text).toEqual('mom');
        console.log(text);
      });
    });
  });
});<commit_msg>[balrog-ui] Fixes assertion errors, yay for green e2e :)<commit_after>var protractor = require('protractor');
require('protractor/jasminewd');

describe('my app', function () {
  var ptor;
  describe('logging in', function () {
    ptor = protractor.getInstance();

    beforeEach(function () {
      ptor.get('/');
    });

    it('should authenticate', function() {
      ptor.findElement(protractor.By.input('credentials.username')).sendKeys('Ralph');
      ptor.findElement(protractor.By.input('credentials.password')).sendKeys('<PASSWORD>');

      ptor.findElement(protractor.By.id('log-in')).click()
      var message = ptor.findElement(protractor.By.css('.alert-box')).getText().then(function(text) {
        expect(text).toEqual('Mouse Over these images to see a directive at work');
      });
    });
  });
});
{'fraction_non_alphanumeric': 0.1878238341968912, 'fraction_numerical': 0.0006476683937823834, 'mean_word_length': 3.967845659163987, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '742026', 'n_tokens_mistral': 493, 'n_tokens_neox': 472, 'n_words': 69}