UNPKG

protractor-axe-html-report-plugin

Version:
28 lines (22 loc) 830 B
// Common configuration files with defaults plus overrides from environment vars var webServerDefaultPort = 8081; module.exports = { // The address of a running selenium server. seleniumAddress: (process.env.SELENIUM_URL || 'http://localhost:4444/wd/hub'), // Capabilities to be passed to the webdriver instance. capabilities: { 'browserName': (process.env.TEST_BROWSER_NAME || 'chrome'), 'version': (process.env.TEST_BROWSER_VERSION || 'ANY') }, // Default http port to host the web server webServerDefaultPort: webServerDefaultPort, // Protractor interactive tests interactiveTestPort: 6969, // A base URL for your application under test. baseUrl: 'http://' + (process.env.HTTP_HOST || 'localhost') + ':' + (process.env.HTTP_PORT || webServerDefaultPort) };