<commit_before>'use strict';

var request = require('request');

exports.config = {
	sauceUser: process.env.SAUCE_USERNAME,
	sauceKey: process.env.SAUCE_ACCESS_KEY,

	allScriptsTimeout: 11000,

	specs: [
		'e2e-tests/*.js'
	],

	multiCapabilities: [
		addCommon({browserName: 'chrome', version: 39}),
		addCommon({browserName: 'firefox', version: 34}),
		addCommon({browserName: 'internet explorer', version: 11}),
		addCommon({browserName: 'internet explorer', version: 10}),
		addCommon({browserName: 'safari', version: '8', platform: 'OS X 10.10'}),
		addCommon({browserName: 'iphone', version: '8.1', platform: 'OS X 10.10', 'device-orientation': 'portrait'}),
	],

	baseUrl: 'http://localhost:9090',
	onPrepare: function() {
		// Disable animations so e2e tests run more quickly
		browser.addMockModule('disableNgAnimate', function() {
			angular.module('disableNgAnimate', []).run(['$animate', function($animate) {
				$animate.enabled(false);
			}]);
		});

		var defer = protractor.promise.defer();
		request(browser.baseUrl + '/test_is_integration', function(error, response, body) {
			if (!error && response.statusCode == 418 && body == 'true') {
				defer.fulfill(body);
			} else {
				defer.reject('Not running against integration!');
			}
		});
		return defer.promise;
	},

	framework: 'jasmine',<commit_msg>Remove iOS safari from sauce labs.<commit_after>'use strict';

var request = require('request');

exports.config = {
	sauceUser: process.env.SAUCE_USERNAME,
	sauceKey: process.env.SAUCE_ACCESS_KEY,

	allScriptsTimeout: 11000,

	specs: [
		'e2e-tests/*.js'
	],

	multiCapabilities: [
		addCommon({browserName: 'chrome', version: 39}),
		addCommon({browserName: 'firefox', version: 34}),
		addCommon({browserName: 'internet explorer', version: 11}),
		addCommon({browserName: 'internet explorer', version: 10}),
		addCommon({browserName: 'safari', version: '8', platform: 'OS X 10.10'}),
	],

	baseUrl: 'http://localhost:9090',
	onPrepare: function() {
		// Disable animations so e2e tests run more quickly
		browser.addMockModule('disableNgAnimate', function() {
			angular.module('disableNgAnimate', []).run(['$animate', function($animate) {
				$animate.enabled(false);
			}]);
		});

		var defer = protractor.promise.defer();
		request(browser.baseUrl + '/test_is_integration', function(error, response, body) {
			if (!error && response.statusCode == 418 && body == 'true') {
				defer.fulfill(body);
			} else {
				defer.reject('Not running against integration!');
			}
		});
		return defer.promise;
	},

	framework: 'jasmine',
{'fraction_non_alphanumeric': 0.17221135029354206, 'fraction_numerical': 0.023483365949119372, 'mean_word_length': 4.916666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5906352', 'n_tokens_mistral': 987, 'n_tokens_neox': 842, 'n_words': 180}