{
  "title": "Cypress Target",
  "description": "Cypress target option for Build Facade",
  "type": "object",
  "properties": {
    "cypressConfig": {
      "type": "string",
      "description": "The path of the Cypress configuration json file."
    },
    "watch": {
      "type": "boolean",
      "description": "Recompile and run tests when files change.",
      "default": false
    },
    "tsConfig": {
      "type": "string",
      "description": "The path of the Cypress tsconfig configuration json file."
    },
    "devServerTarget": {
      "type": "string",
      "description": "Dev server target to run tests against."
    },
    "headless": {
      "type": "boolean",
      "description": "Whether or not the open the Cypress application to run the tests. If set to 'true', will run in headless mode",
      "default": false
    },
    "record": {
      "type": "boolean",
      "description": "Whether or not Cypress should record the results of the tests",
      "default": false
    },
    "baseUrl": {
      "type": "string",
      "description": "Use this to pass directly the address of your distant server address with the port running your application"
    },
    "browser": {
      "type": "string",
      "description": "The browser to run tests in.",
      "enum": ["electron", "chrome", "chromium", "canary"]
    }
  },
  "additionalProperties": false,
  "required": ["cypressConfig", "tsConfig"]
}
