<commit_before>﻿open canopy
open runner
open System

Console.WriteLine("Launching Scenario Tests")

CreatingOrgsAndCampaigns.All Constants.UrlLocalHost
CreatingActivitiesForCampaigns.All Constants.UrlLocalHost

//Chrome Driver: https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver
canopy.configuration.chromeDir <- System.AppDomain.CurrentDomain.BaseDirectory
start chrome
pin Left
resize (1024, 768)
Console.WriteLine("Launched Chrome")

////Firefox has issues with Selnium 2.5.x.  see https://github.com/lefthandedgoat/canopy/issues/288.  You have to installed version 48.
//start firefox 
//pin Right
//resize(1024, 768)
//Console.WriteLine("Launched Firefox")

//Test don't work in IE right now.  Many times IE adds a space to the end of the element text
// IE Driver: https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver
//canopy.configuration.ieDir <- System.AppDomain.CurrentDomain.BaseDirectory
//start ie<commit_msg>Start Chrome with extensions disabled<commit_after>﻿open canopy
open runner
open System

Console.WriteLine("Launching Scenario Tests")

CreatingOrgsAndCampaigns.All Constants.UrlLocalHost
CreatingActivitiesForCampaigns.All Constants.UrlLocalHost

//Chrome Driver: https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver
canopy.configuration.chromeDir <- System.AppDomain.CurrentDomain.BaseDirectory
let chromeOptions = OpenQA.Selenium.Chrome.ChromeOptions()
chromeOptions.AddArgument("--disable-extensions")
start <| ChromeWithOptions chromeOptions
pin Left
resize (1024, 768)
Console.WriteLine("Launched Chrome")

////Firefox has issues with Selnium 2.5.x.  see https://github.com/lefthandedgoat/canopy/issues/288.  You have to installed version 48.
//start firefox 
//pin Right
//resize(1024, 768)
//Console.WriteLine("Launched Firefox")

//Test don't work in IE right now.  Many times IE adds a space to the end of the element text
// IE Driver: https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver
//canopy.configuration.ieDir <- System.AppDomain.CurrentDomain.BaseDirectory
//start ie
{'fraction_non_alphanumeric': 0.10356619443087445, 'fraction_numerical': 0.02051783097215437, 'mean_word_length': 5.224924012158055, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '6880425', 'n_tokens_mistral': 664, 'n_tokens_neox': 597, 'n_words': 160}