<commit_before>#!/bin/bash
# env=local browser=phantomjs OCL_WEB=~/workspace/ocl_web run_ui_tests.sh

if [ -z $OCL_WEB ]; then OCL_WEB=~/ocl_web; fi

cd $OCL_WEB

echo "Removing selenium before update"
rm -rf ./node_modules/protractor/node_modules/webdriver-manager/selenium

echo "Updating web driver manager"
nohup ./node_modules/protractor/bin/webdriver-manager update

echo "Starting server"
nohup  ./node_modules/protractor/bin/webdriver-manager start --standalone > nohup.out 2>&1 &

sleep 3

./node_modules/protractor/bin/protractor ./ocl_web/tests/ui_tests/conf.js --verbose<commit_msg>#0 redirect test output to a separate file<commit_after>#!/bin/bash
# env=local browser=phantomjs OCL_WEB=~/workspace/ocl_web run_ui_tests.sh

if [ -z $OCL_WEB ]; then OCL_WEB=~/ocl_web; fi

cd $OCL_WEB

echo "Removing selenium before update"
rm -rf ./node_modules/protractor/node_modules/webdriver-manager/selenium

echo "Updating web driver manager"
nohup ./node_modules/protractor/bin/webdriver-manager update

echo "Starting server"
nohup  ./node_modules/protractor/bin/webdriver-manager start --standalone > nohup_tests.out 2>&1 &

sleep 3

./node_modules/protractor/bin/protractor ./ocl_web/tests/ui_tests/conf.js --verbose
{'fraction_non_alphanumeric': 0.1169255928045789, 'fraction_numerical': 0.005723630417007359, 'mean_word_length': 5.0, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2797318', 'n_tokens_mistral': 475, 'n_tokens_neox': 436, 'n_words': 92}