Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 42 lines (31 sloc) 0.958 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: [
2240c11 ⭐caitp⭐ chore(tests): implement e2e test harness outside of docs app
caitp authored
7 'test/e2e/tests/**/*.js',
0e85ca9 Julie Ralph chore(testing): run end to end tests on firefox and safari as well as ch...
juliemr authored
8 'build/docs/ptore2e/**/*.js',
63761fd Pete Bacon Darwin test(docs): improve docs e2e tests
petebacondarwin authored
9 'docs/app/e2e/*.scenario.js'
0e85ca9 Julie Ralph chore(testing): run end to end tests on firefox and safari as well as ch...
juliemr authored
10 ],
11
12 capabilities: {
13 'browserName': 'chrome'
14 },
15
b4db713 Jeff Cross fix(jenkins): reset baseUrl in protractor conf
jeffbcross authored
16 baseUrl: 'http://localhost:8000/',
0e85ca9 Julie Ralph chore(testing): run end to end tests on firefox and safari as well as ch...
juliemr authored
17
18 framework: 'jasmine',
19
20 onPrepare: function() {
36831ec Michał Gołębiowski refactor(jshint): reduce duplication & test all JS files
mzgol authored
21 /* global angular: false, browser: false, jasmine: false */
22
0e85ca9 Julie Ralph chore(testing): run end to end tests on firefox and safari as well as ch...
juliemr authored
23 // Disable animations so e2e tests run more quickly
24 var disableNgAnimate = function() {
2730007 Pete Bacon Darwin chore(protractor): annotate $animate to allow tests to run under strict-...
petebacondarwin authored
25 angular.module('disableNgAnimate', []).run(['$animate', function($animate) {
0e85ca9 Julie Ralph chore(testing): run end to end tests on firefox and safari as well as ch...
juliemr authored
26 $animate.enabled(false);
2730007 Pete Bacon Darwin chore(protractor): annotate $animate to allow tests to run under strict-...
petebacondarwin authored
27 }]);
0e85ca9 Julie Ralph chore(testing): run end to end tests on firefox and safari as well as ch...
juliemr authored
28 };
29
30 browser.addMockModule('disableNgAnimate', disableNgAnimate);
31
32 require('jasmine-reporters');
33 jasmine.getEnv().addReporter(
2240c11 ⭐caitp⭐ chore(tests): implement e2e test harness outside of docs app
caitp authored
34 new jasmine.JUnitXmlReporter('test_out/docs-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
35 },
36
37 jasmineNodeOpts: {
38 defaultTimeoutInterval: 30000,
39 showColors: false
40 }
41 };
Something went wrong with that request. Please try again.