<commit_before>// GLOBAL Variable for the tests
//theSite = 'http://di2e.github.io/openstorefront/index.html';
//openAM = false; other = false;

//theSite = 'http://store-prod.usu.di2e.net:8080/openstorefront/index.html';
//openAM = true; other = false;

// CURRENT PRODUCTION
//theSite = 'https://storefront1.di2e.net/openstorefront/index.html';
//openAM = true; other = false;

// TESTING SITE
theSite = 'http://store-accept.usu.di2e.net/openstorefront/index.html';
openAM = false; other = true;


// Leave OUTSIDE of describe, it, expect as it is NOT an Angular website page.
if (openAM) {
    // For non-Angular page turn OFF synchronization
    browser.ignoreSynchronization = true;
    browser.get(theSite, 3500);
    browser.driver.sleep(1000);
    browser.driver.findElement(by.id('IDToken1')).sendKeys('admin'); // (amadmin) Set to valid account
    browser.driver.findElement(by.id('IDToken2')).sendKeys('secret', protractor.Key.ENTER);
    browser.driver.sleep(1000);
}

// Other Non-OpenAM site, but still need to login!
if (other) {
    console.log('**********  Please manually log in, you have 30 seconds.  **********');
    console.log(theSite);
    browser.driver.sleep(33000);<commit_msg>Change for testing non-openAM MANUAL log-in.  Can't get search filters working at the moment, commented out.<commit_after>// GLOBAL Variable for the tests
//theSite = 'http://di2e.github.io/openstorefront/index.html';
//openAM = false; other = false;

//theSite = 'http://store-prod.usu.di2e.net:8080/openstorefront/index.html';
//openAM = true; other = false;

// CURRENT PRODUCTION
//theSite = 'https://storefront1.di2e.net/openstorefront/index.html';
//openAM = true; other = false;

// TESTING SITE
theSite = 'http://store-accept.usu.di2e.net/openstorefront/index.html';
openAM = false; other = true;


// Leave OUTSIDE of describe, it, expect as it is NOT an Angular website page.
if (openAM) {
    // For non-Angular page turn OFF synchronization
    browser.ignoreSynchronization = true;
    browser.get(theSite, 3500);
    browser.driver.sleep(1000);
    browser.driver.findElement(by.id('IDToken1')).sendKeys('admin'); // (amadmin) Set to valid account
    browser.driver.findElement(by.id('IDToken2')).sendKeys('secret', protractor.Key.ENTER);
    browser.driver.sleep(1000);
}

// Other Non-OpenAM site, but still need to login!
if (other) {
    console.log('**********  Please manually log in, you have ~30 seconds.  **********');
    console.log(theSite);
    console.log('*********************************************************************');
    browser.driver.sleep(33000);
{'fraction_non_alphanumeric': 0.187211093990755, 'fraction_numerical': 0.023112480739599383, 'mean_word_length': 4.0623781676413255, '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': '2891355', 'n_tokens_mistral': 875, 'n_tokens_neox': 827, 'n_words': 197}