{
  "src_folders": [
    "tests/e2e"
  ],
  "output_folder": "test-output/e2e",
  "custom_assertions_path": "",
  "custom_commands_path": "node_modules/nightwatch-coverage/commands",
  "page_objects_path": "tests/page-objects",
  "globals_path": "tests/utils/globals.js",
  "test_settings": {
    "default": {
      "launch_url": "//SET DYNAMICALLY VIA CONFIG",
      "silent": true,
      "screenshots": {
        "enabled": true,
        "path": "test-output/e2e/screenshots",
        "on_failure": true
      },
      "globals": {
        "waitForConditionTimeout": 60000
      }
    },
    "remote": {
      "launch_url": "${CLUSTER}"
    },
    "chrome": {
      "webdriver": {
        "start_process" : true,
        "server_path": "node_modules/.bin/chromedriver",
        "cli_args": ["--verbose"],
        "port": 9515
      },
      "desiredCapabilities": {
        "browserName": "chrome",
        "javascriptEnabled": true,
        "acceptSslCerts": true,
        "acceptInsecureCerts": true,
        "chromeOptions": {
          "w3c": false,
          "args" : [
            "window-size=1280,950",
            "--no-sandbox",
            "--disable-gpu",
            "ignore-certificate-errors"
          ]
        }
      }
    },
    "firefox": {
      "webdriver": {
        "start_process" : true,
        "server_path": "node_modules/.bin/geckodriver",
        "cli_args": ["--log", "debug"],
        "port": 4444
      },
      "desiredCapabilities": {
        "browserName": "firefox",
        "javascriptEnabled": true,
        "acceptInsecureCerts": true,
        "version": "",
        "alwaysMatch": {
          "acceptInsecureCerts": true
        }
      }
    },
    "chrome.headless": {
      "webdriver": {
        "start_process" : true,
        "server_path": "node_modules/.bin/chromedriver",
        "cli_args": ["--verbose"],
        "port": 9515
      },
      "desiredCapabilities": {
        "browserName": "chrome",
        "javascriptEnabled": true,
        "acceptSslCerts": true,
        "acceptInsecureCerts": true,
        "chromeOptions": {
          "w3c": false,
          "args" : [
            "--headless",
            "window-size=1280,950",
            "--no-sandbox",
            "--disable-gpu",
            "ignore-certificate-errors"
          ]
        }
      }
    },
    "firefox.headless": {
      "webdriver": {
        "start_process" : true,
        "server_path": "node_modules/.bin/geckodriver",
        "cli_args": ["--log", "debug"],
        "port": 4444
      },
      "desiredCapabilities": {
        "browserName": "firefox",
        "javascriptEnabled": true,
        "acceptInsecureCerts": true,
        "version": "",
        "alwaysMatch": {
          "acceptInsecureCerts": true,
          "moz:firefoxOptions": { "args": [ "-headless" ]}
        }
      }
    },
    "safari": {
      "webdriver": {
        "start_process" : true,
        "server_path": "/usr/bin/safaridriver",
        "port": 4445,
        "use_legacy_jsonwire": false
      },
      "desiredCapabilities": {
        "browserName": "safari",
        "javascriptEnabled": true,
        "acceptSslCerts": true
      }
    },
    "ie": {
      "desiredCapabilities": {
        "browserName": "internet explorer"
      }
    }
  }
}
