1 // A reference configuration file.
3 // ----- How to setup Selenium -----
5 // There are three ways to specify how to use Selenium. Specify one of the
8 // 1. seleniumServerJar - to start Selenium Standalone locally.
9 // 2. seleniumAddress - to connect to a Selenium server which is already
11 // 3. sauceUser/sauceKey - to use remote Selenium servers via SauceLabs.
13 seleniumAddress
: 'http://facultymatt:b280b942-1965-446d-90bf-e069b5cd2cf9@localhost:4445/wd/hub',
14 // The port to start the selenium server on, or null if the server should
15 // find its own unused port.
17 // Chromedriver location is used to help the selenium standalone server
18 // find chromedriver. This will be passed to the selenium jar as
19 // the system property webdriver.chrome.driver. If null, selenium will
20 // attempt to find chromedriver using PATH.
21 //chromeDriver: './selenium/chromedriver',
22 // Additional command line options to pass to selenium. For example,
23 // if you need to change the browser timeout, use
24 // seleniumArgs: ['-browserTimeout=60'],
27 // If sauceUser and sauceKey are specified, seleniumServerJar will be ignored.
28 // The tests will be run remotely using SauceLabs.
29 sauceUser
: 'facultymatt',
30 sauceKey
: 'b280b942-1965-446d-90bf-e069b5cd2cf9',
32 // ----- What tests to run -----
34 // Spec patterns are relative to the location of this config.
39 // ----- Capabilities to be passed to the webdriver instance ----
41 // For a full list of available capabilities, see
42 // https://code.google.com/p/selenium/wiki/DesiredCapabilities
44 // https://code.google.com/p/selenium/source/browse/javascript/webdriver/capabilities.js
46 'username': 'facultymatt',
47 'accessKey': 'b280b942-1965-446d-90bf-e069b5cd2cf9',
48 'browserName': 'chrome',
49 'tunnelIdentifier': process
.env
.TRAVIS_JOB_NUMBER
54 // A base URL for your application under test. Calls to protractor.get()
55 // with relative paths will be prepended with this.
56 baseUrl
: 'http://localhost:9999',
58 // Selector for the element housing the angular app - this defaults to
59 // body, but is necessary if ng-app is on a descendant of <body>
62 // ----- Options to be passed to minijasminenode -----
64 // onComplete will be called just before the driver quits.
66 // If true, display spec names.
68 // If true, print colors to the terminal.
70 // If true, include stack traces in failures.
71 includeStackTrace
: true,
72 // Default time to wait in ms before a test fails.
73 defaultTimeoutInterval
: 1000000