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

It is confusing that args maps to capabilities #189

@benjaminapetersen

Description

@benjaminapetersen

If I setup my gruntfile with something like this:

// protractor task
default: {
  options: {
    configFile: "test/protractor.conf.js",
    args: {
      baseUrl: grunt.option('baseUrl') || ("https://localhost:9000/" + contextRoot + "/"),
      browser: grunt.option('browser') ?
                grunt.option('browser') :
                isMac ?
                  'chrome' :
                  'firefox'
    }
  }
},

but also have the following in my protractor.conf.js:

multiCapabilities: [
  {'browserName': 'firefox'},
  {'browserName': 'chrome'}
  {'browserName': 'phantomjs'}
],

I will get feed back that I cannot use both capabilities and multiCapabilities together. It is not immediately clear that args maps to capabilities and will override multiCapabilities, this could either be clarified in docs or the args variable renamed.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions