Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

directConnect option is shadowed by args #177

Open
wytrych opened this issue Nov 18, 2016 · 0 comments
Open

directConnect option is shadowed by args #177

wytrych opened this issue Nov 18, 2016 · 0 comments

Comments

@wytrych
Copy link

wytrych commented Nov 18, 2016

My original config looked like this:

 protractor: {
            options: {
                keepAlive: false,
                webdriverManagerUpdate: true,
                configFile: '<%= config.e2eTestsDir %>/protractor-empty-conf.js',
                args: {
                        directConnect: true
                }
            },
            jasmine: {
                options: {
                    args: {
                        framework: 'jasmine',
                        allScriptsTimeout: 11000,
                        jasmineNodeOpts: {
                            defaultTimeoutInterval: 30000
                        },
                        specs: 'tests/*.js'
                    }
                }
            }
        }

However, the directConnect option was not being picked up. I had to move it to the args section of the jasmine target, then it started working. It is contrary to what's in the docs. It also worked when I did grunt protractor --directConnect=true

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant