<commit_before>HtmlScreenshotReporter = require('protractor-jasmine2-screenshot-reporter');

reporter = new HtmlScreenshotReporter
  dest: 'screenshots'
  captureOnlyFailedSpecs: true
  filename: 'my-report.html'

paths         = require('../tasks/paths')

exports.config =
  seleniumServerJar: '../node_modules/webdriver-manager/selenium/selenium-server-standalone-3.5.1.jar'
  allScriptsTimeout: 60000
  capabilities:
    browserName:     'firefox'
  baseUrl:           'http://localhost:3000'
  jasmineNodeOpts:
    onComplete: null
    isVerbose: false
    showColors: true
    includeStackTrace: true
    defaultTimeoutInterval: 60000

  beforeLaunch: ->
    new Promise (resolve) ->
      reporter.beforeLaunch(resolve);
  onPrepare: -><commit_msg>update webdriver manager version<commit_after>HtmlScreenshotReporter = require('protractor-jasmine2-screenshot-reporter');

reporter = new HtmlScreenshotReporter
  dest: 'screenshots'
  captureOnlyFailedSpecs: true
  filename: 'my-report.html'

paths         = require('../tasks/paths')

exports.config =
  seleniumServerJar: '../node_modules/webdriver-manager/selenium/selenium-server-standalone-3.5.3.jar'
  allScriptsTimeout: 60000
  capabilities:
    browserName:     'firefox'
  baseUrl:           'http://localhost:3000'
  jasmineNodeOpts:
    onComplete: null
    isVerbose: false
    showColors: true
    includeStackTrace: true
    defaultTimeoutInterval: 60000

  beforeLaunch: ->
    new Promise (resolve) ->
      reporter.beforeLaunch(resolve);
  onPrepare: ->
{'fraction_non_alphanumeric': 0.10609037328094302, 'fraction_numerical': 0.023575638506876228, 'mean_word_length': 3.8662420382165603, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '4798157', 'n_tokens_mistral': 517, 'n_tokens_neox': 482, 'n_words': 83}