mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 22:43:03 +00:00
Protractor configuration
This commit is contained in:
@@ -6,14 +6,67 @@ var SpecReporter = require('jasmine-spec-reporter');
|
||||
|
||||
exports.config = {
|
||||
allScriptsTimeout: 11000,
|
||||
// -----------------------------------------------------------------
|
||||
// Uncomment to run tests using a remote Selenium server
|
||||
//seleniumAddress: 'http://selenium.address:4444/wd/hub',
|
||||
// Change to 'false' to run tests using a remote Selenium server
|
||||
directConnect: true,
|
||||
// Change if the website to test is not on the localhost
|
||||
baseUrl: 'http://localhost:4200/',
|
||||
// -----------------------------------------------------------------
|
||||
specs: [
|
||||
'./e2e/**/*.e2e-spec.ts'
|
||||
],
|
||||
capabilities: {
|
||||
'browserName': 'chrome'
|
||||
},
|
||||
directConnect: true,
|
||||
baseUrl: 'http://localhost:4200/',
|
||||
// -----------------------------------------------------------------
|
||||
// Browser and Capabilities: PhantomJS
|
||||
// -----------------------------------------------------------------
|
||||
// capabilities: {
|
||||
// 'browserName': 'phantomjs',
|
||||
// 'version': '',
|
||||
// 'platform': 'ANY'
|
||||
// },
|
||||
// -----------------------------------------------------------------
|
||||
// Browser and Capabilities: Chrome
|
||||
// -----------------------------------------------------------------
|
||||
capabilities: {
|
||||
'browserName': 'chrome',
|
||||
'version': '',
|
||||
'platform': 'ANY'
|
||||
},
|
||||
// -----------------------------------------------------------------
|
||||
// Browser and Capabilities: Firefox
|
||||
// -----------------------------------------------------------------
|
||||
// capabilities: {
|
||||
// 'browserName': 'firefox',
|
||||
// 'version': '',
|
||||
// 'platform': 'ANY'
|
||||
// },
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
// Browser and Capabilities: MultiCapabilities
|
||||
// -----------------------------------------------------------------
|
||||
//multiCapabilities: [
|
||||
// {
|
||||
// 'browserName': 'phantomjs',
|
||||
// 'version': '',
|
||||
// 'platform': 'ANY'
|
||||
// },
|
||||
// {
|
||||
// 'browserName': 'chrome',
|
||||
// 'version': '',
|
||||
// 'platform': 'ANY'
|
||||
// }
|
||||
// {
|
||||
// 'browserName': 'firefox',
|
||||
// 'version': '',
|
||||
// 'platform': 'ANY'
|
||||
// }
|
||||
//],
|
||||
|
||||
plugins : [{
|
||||
path: 'node_modules/protractor-istanbul-plugin'
|
||||
}],
|
||||
|
||||
framework: 'jasmine',
|
||||
jasmineNodeOpts: {
|
||||
showColors: true,
|
||||
|
Reference in New Issue
Block a user