<commit_before>'use strict';

let path = require('path');

let conditions = protractor.ExpectedConditions;
let webdriver = browser.driver;
const user = '<EMAIL>';
const pass = '<PASSWORD>';
let loadMetadata = require('./browser/services/metadata');
let reqs = loadMetadata(require(path.join(rootPath, './requirements.json')), proess.platform);

let expectedComponents = {
  virtualbox: { installedVersion: process.env.PDKI_TEST_INSTALLED_VBOX, recommendedVersion: reqs['virtualbox'].version },
  jdk: { installedVersion: process.env.PDKI_TEST_INSTALLED_JDK, recommendedVersion: reqs['jdk'].version.substring(0, 5) }
};
if (process.platform === 'win32') {
  expectedComponents.cygwin = { installedVersion: process.env.PDKI_TEST_INSTALLED_CYGWIN, recommendedVersion: reqs['cygwin'].version };
}
<commit_msg>Fix requires in e2e test base<commit_after>'use strict';

let path = require('path');

let conditions = protractor.ExpectedConditions;
let webdriver = browser.driver;
const user = '<EMAIL>';
const pass = '<PASSWORD>';
let loadMetadata = require('../../browser/services/metadata');
let reqs = loadMetadata(require(path.join(rootPath, './requirements.json')), process.platform);

let expectedComponents = {
  virtualbox: { installedVersion: process.env.PDKI_TEST_INSTALLED_VBOX, recommendedVersion: reqs['virtualbox'].version },
  jdk: { installedVersion: process.env.PDKI_TEST_INSTALLED_JDK, recommendedVersion: reqs['jdk'].version.substring(0, 5) }
};
if (process.platform === 'win32') {
  expectedComponents.cygwin = { installedVersion: process.env.PDKI_TEST_INSTALLED_CYGWIN, recommendedVersion: reqs['cygwin'].version };
}

{'fraction_non_alphanumeric': 0.1459227467811159, 'fraction_numerical': 0.005518087063151441, 'mean_word_length': 6.922330097087379, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5597069', 'n_tokens_mistral': 510, 'n_tokens_neox': 489, 'n_words': 97}