Skip to content

[AWS Device Farm] Connection issue #3175

Description

@vaibhavsingh97

config file I'm using

{
  "src_folders": [ //other test paths are added like this
    "tests/case-details/C166468-userWithCountryNullViewCases.js",
    "tests/case-details/C206276-legacyCaseIdShown.js",
    "tests/case-details/C2514-hardwareRepairTypeDetails.js"
  ],
  "page_objects_path": [
    "./page_object"
  ],
  "globals_path": "globals.js",
  "webdriver": {
    "keep_alive": true
  },
  "custom_commands_path": [
    "./lib/custom_commands",
    "./node_modules/nightwatch-xhr/es5/commands"
  ],
  "custom_assertions_path": [
    "./node_modules/nightwatch-xhr/es5/assertions"
  ],
  "test_workers": {
    "enabled": true,
    "workers": 50
  },
  "test_settings": {
    "default": {
      "deviceFarmProject": "55c7ab9b-bfb8-48f6-918d-16001de636a9",
      "selenium": {
        "start_process": false,
        "host": "testgrid-devicefarm.us-west-2.amazonaws.com",
        "default_path_prefix": "/AQICAHiRxhO-PGIRztfuyZnEOnPbRAM8ftJRJWoP00xHm3SX=/wd/hub",
        "port": 443
      },
      "skip_testcases_on_fail": false,
      "parallel_process_delay": 100,
      "silent": true,
      "exclude": [
        "tests/*sample*.js"
      ],
      "request_timeout_options": {
        "timeout": 180000,
        "retry_attempts": 2
      },
      "output_folder": "./reports",
      "end_session_on_fail": false,
      "desiredCapabilities": {
        "browserName": "chrome"
      }
    }
  },
  "live_output": true,
  "detailed_output": true,
  "test_runner": {
    "type": "default",
    "options": {
      "bail": false,
      "retries": 0
    }
  }
}

Some tests are not connecting to the grid and throw this error
⚠ Failed to connect to Selenium Server on testgrid-devicefarm.us-west-2.amazonaws.com with port 443.

Originally posted by @mostmentor in #3094 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions