Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 41 lines (30 sloc) 0.92 kb
36831ec Michał Gołębiowski refactor(jshint): reduce duplication & test all JS files
mzgol authored
1 'use strict';
2
0e85ca9 Julie Ralph chore(testing): run end to end tests on firefox and safari as well as ch...
juliemr authored
3 exports.config = {
4 allScriptsTimeout: 11000,
5
6 specs: [
7 'build/docs/ptore2e/**/*.js',
76e57a7 Pete Bacon Darwin chore(doc-gen): move e2e tests into docs folder
petebacondarwin authored
8 'docs/app/e2e/docsAppE2E.js'
0e85ca9 Julie Ralph chore(testing): run end to end tests on firefox and safari as well as ch...
juliemr authored
9 ],
10
11 capabilities: {
12 'browserName': 'chrome'
13 },
14
15 baseUrl: 'http://localhost:8000/build/docs/',
16
17 framework: 'jasmine',
18
19 onPrepare: function() {
36831ec Michał Gołębiowski refactor(jshint): reduce duplication & test all JS files
mzgol authored
20 /* global angular: false, browser: false, jasmine: false */
21
0e85ca9 Julie Ralph chore(testing): run end to end tests on firefox and safari as well as ch...
juliemr authored
22 // Disable animations so e2e tests run more quickly
23 var disableNgAnimate = function() {
24 angular.module('disableNgAnimate', []).run(function($animate) {
25 $animate.enabled(false);
26 });
27 };
28
29 browser.addMockModule('disableNgAnimate', disableNgAnimate);
30
31 require('jasmine-reporters');
32 jasmine.getEnv().addReporter(
f4a121f Pete Bacon Darwin chore(protractor-jenkins-config): don't use `this` inside onPrepare
petebacondarwin authored
33 new jasmine.JUnitXmlReporter('test_out/e2e-' + exports.config.capabilities.browserName + '-', true, true));
0e85ca9 Julie Ralph chore(testing): run end to end tests on firefox and safari as well as ch...
juliemr authored
34 },
35
36 jasmineNodeOpts: {
37 defaultTimeoutInterval: 30000,
38 showColors: false
39 }
40 };
Something went wrong with that request. Please try again.