Has anyone come up with a relatively painless way to run Protractor on Browserstack?
It seems it possible according to https://twitter.com/tatejohnson/status/401984671195471872 Using the configuration below, I'm able to run the tests but browserstack never connects to my local server, instead it attempts to access about:blank#/announcements where it fails to find Angular and times out. browserstackTunnel: { options: { accessKey: process.env.BROWSER_STACK_ACCESS_KEY }, development: { options: { tunnelIdentifier: 'hbo-media-relations-tunnel-id', hostname: 'localhost', port: 9000 } } }, protractor: { options: { configFile: "node_modules/protractor/referenceConf.js", // Default config file keepAlive: true, // If false, the grunt process stops when the test fails. noColor: false, // If true, protractor will not use colors in its output. args: { // Arguments passed to the command } }, admin_browserstack_target: { options: { configFile: "protractor.admin.bs.conf.js", // Target-specific config file args: {} // Target-specific arguments } } }, //protractor.admin.bs.conf.js. exports.config = { // The address of a running selenium server. seleniumAddress: 'http://hub.browserstack.com/wd/hub', allScriptsTimeout: 55000, // Capabilities to be passed to the webdriver instance. capabilities: { 'build': 'E2E Tests', 'project': 'Media Relations', 'base': 'BrowserStack', 'browserstack.tunnel': 'true', 'url': 'http://localhost:9000/', 'tunnelIdentifier':'hbo-media-relations-tunnel-id', 'browserstack.debug': true, 'browser': 'chrome', 'browser_version': '36.0', 'os': 'OS X', 'os_version': 'Mountain Lion', 'browserstack.user': process.env.BROWSER_STACK_USERNAME, 'browserstack.key': process.env.BROWSER_STACK_ACCESS_KEY, }, // Spec patterns are relative to the current working directly when // protractor is called. specs: ['test/e2e/spec/admin/**/*.js'], // Options to be passed to Jasmine-node. jasmineNodeOpts: { showColors: true, defaultTimeoutInterval: 90000, browserNoActivityTimeout: 50000, captureTimeout: 60000 } }; -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.