<commit_before>describe('angularjs pers-event-jp', function() {
  
	var moment = require('moment');
	
	var persEvent    = element(by.id('createPersEvent'));
    var eventName    = element(by.model('name'));
    var eventHrDur   = element(by.model('hourDurationFromModal'));
    var eventMinDur  = element(by.model('minDurationFromModal'));
    var eventDate 	 = element(by.model('dateFromModal'));
    var eventTmHrs	 = element(by.model('hours'));
    var eventTmMins	 = element(by.model('minutes'));
    var eventTime	 = element(by.model('timeFromModal'));
    var toggMerPar	 = element(by.id('toggMer'));
    var toggMer		 = toggMerPar.element(by.css('.btn'));
    var eventPersSub = element(by.id('persEventSubmit'));
    
    
    beforeEach(function() {
        browser.get('http://localhost:3333/#!/events');
    });
    
    it('should have a title', function() {
        expect(browser.getTitle()).toEqual('Azzenda');
    });
    
    it('should allow creation of a personal event', function() {
        persEvent.click();
    	eventName.sendKeys('Meeting with Client');
        eventHrDur.sendKeys('1');
        eventMinDur.sendKeys('00');
        eventDate.sendKeys('10/10/2015');
        eventTmHrs.sendKeys(protractor.Key.END);
        eventTmHrs.sendKeys(protractor.Key.BACK_SPACE);
        eventTmHrs.sendKeys(protractor.Key.BACK_SPACE);
        eventTmHrs.sendKeys('11');
        eventTmMins.sendKeys(protractor.Key.END);
        eventTmMins.sendKeys(protractor.Key.BACK_SPACE);
        eventTmMins.sendKeys(protractor.Key.BACK_SPACE);
        eventTmMins.sendKeys('15');
        
        var now = new Date();
        if (now.getHours() >= 12) {
        	toggMer.click();
        }
        
        eventPersSub.click();
        browser.waitForAngular();<commit_msg>Switched Saul's personal event test to using numpad (TimePicker is being stupid)<commit_after>describe('angularjs pers-event-jp', function() {
  
	var moment = require('moment');
	
	var persEvent    = element(by.id('createPersEvent'));
    var eventName    = element(by.model('name'));
    var eventHrDur   = element(by.model('hourDurationFromModal'));
    var eventMinDur  = element(by.model('minDurationFromModal'));
    var eventDate 	 = element(by.model('dateFromModal'));
    var eventTmHrs	 = element(by.model('hours'));
    var eventTmMins	 = element(by.model('minutes'));
    var eventTime	 = element(by.model('timeFromModal'));
    var toggMerPar	 = element(by.id('toggMer'));
    var toggMer		 = toggMerPar.element(by.css('.btn'));
    var eventPersSub = element(by.id('persEventSubmit'));
    
    
    beforeEach(function() {
        browser.get('http://localhost:3333/#!/events');
    });
    
    it('should have a title', function() {
        expect(browser.getTitle()).toEqual('Azzenda');
    });
    
    it('should allow creation of a personal event', function() {
        persEvent.click();
    	eventName.sendKeys('Meeting with Client');
        eventHrDur.sendKeys('1');
        eventMinDur.sendKeys('00');
        eventDate.sendKeys('10/10/2015');
        eventTmHrs.sendKeys(protractor.Key.END);
        eventTmHrs.sendKeys(protractor.Key.BACK_SPACE);
        eventTmHrs.sendKeys(protractor.Key.BACK_SPACE);
        eventTmHrs.sendKeys(protractor.Key.NUMPAD1);
        eventTmHrs.sendKeys(protractor.Key.NUMPAD1);
        eventTmMins.sendKeys(protractor.Key.END);
        eventTmMins.sendKeys(protractor.Key.BACK_SPACE);
        eventTmMins.sendKeys(protractor.Key.BACK_SPACE);
        eventTmMins.sendKeys(protractor.Key.NUMPAD1);
        eventTmMins.sendKeys(protractor.Key.NUMPAD5);
        
        var now = new Date();
        if (now.getHours() >= 12) {
        	toggMer.click();
        }
        
        eventPersSub.click();
        browser.waitForAngular();
{'fraction_non_alphanumeric': 0.14758876523582407, 'fraction_numerical': 0.011128775834658187, 'mean_word_length': 3.0854978354978355, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4312989', 'n_tokens_mistral': 1267, 'n_tokens_neox': 1201, 'n_words': 172}