<commit_before>'use strict';

/* https://github.com/angular/protractor/blob/master/docs/toc.md */

describe('my app', function() {


  it('should automatically redirect to /view1 when location hash/fragment is empty', function() {
    browser.get('index.html');
    expect(browser.getLocationAbsUrl()).toMatch("/login.html");
  });


  describe('view1', function() {

    beforeEach(function() {
      browser.get('index.html#!/login');
    });


    it('should render login when user navigates to /login', function() {
      expect(element.all(by.css('[ng-view] p')).first().getText()).
        toMatch(/partial for login view/);
    });

  });

  
});<commit_msg>holding on for test cases for now.<commit_after>'use strict';

/* https://github.com/angular/protractor/blob/master/docs/toc.md */

describe('my app', function() {


 // it('should automatically redirect to /view1 when location hash/fragment is empty', function() {
   // browser.get('index.html');
    //expect(browser.getLocationAbsUrl()).toMatch("/login.html");
  //});


  //describe('view1', function() {

    //beforeEach(function() {
     // browser.get('index.html#!/login');
    //});


    //it('should render login when user navigates to /login', function() {
      //expect(element.all(by.css('[ng-view] p')).first().getText()).
        //toMatch(/partial for login view/);
    //});

  //});


});
{'fraction_non_alphanumeric': 0.2029090909090909, 'fraction_numerical': 0.002909090909090909, 'mean_word_length': 3.2208588957055215, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1642655', 'n_tokens_mistral': 434, 'n_tokens_neox': 407, 'n_words': 82}