Commit 3ed2e7fe authored by Jérome Perrin's avatar Jérome Perrin

wip

parent 9c4d1dd6
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#", "$schema": "http://json-schema.org/draft-07/schema#",
"description": "Parameters to instantiate JSTestNode", "description": "Parameters to instantiate JSTestNode",
"additionalProperties": true, "additionalProperties": true,
"common": { "properties": {
"test-suite": { "test-suite": {
"description": "The test suite to run", "description": "The test suite to run",
"type": "string", "type": "string",
...@@ -17,12 +17,12 @@ ...@@ -17,12 +17,12 @@
"format": "uri", "format": "uri",
"default": "(the web server started by this instance)", "default": "(the web server started by this instance)",
"example": "https://softinst1234.host.vifib.net/" "example": "https://softinst1234.host.vifib.net/"
}
}, },
"test-runner": {
"oneOf": [ "oneOf": [
{ {
"description": "Configuration for Selenium server",
"type": "object", "type": "object",
"description": "Configuration for Selenium server",
"additionalProperties": false, "additionalProperties": false,
"required": [ "required": [
"desired-capabilities", "desired-capabilities",
...@@ -35,12 +35,6 @@ ...@@ -35,12 +35,6 @@
"type": "string", "type": "string",
"const": "selenium-server" "const": "selenium-server"
}, },
"test-suite": {
"$ref": "#/common/test-suite"
},
"remote-access-url": {
"$ref": "#/common/remote-access-url"
},
"server-url": { "server-url": {
"description": "URL of the selenium server", "description": "URL of the selenium server",
"type": "string", "type": "string",
...@@ -76,8 +70,8 @@ ...@@ -76,8 +70,8 @@
} }
}, },
{ {
"description": "Configuration for Firefox",
"type": "object", "type": "object",
"description": "Configuration for Firefox",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"target": { "target": {
...@@ -85,32 +79,22 @@ ...@@ -85,32 +79,22 @@
"const": "firefox", "const": "firefox",
"type": "string", "type": "string",
"default": "firefox" "default": "firefox"
},
"test-suite": {
"$ref": "#/common/test-suite"
},
"remote-access-url": {
"$ref": "#/common/remote-access-url"
} }
} }
}, },
{ {
"description": "Configuration for NodeJS",
"type": "object", "type": "object",
"description": "Configuration for NodeJS",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"target": { "target": {
"description": "Target system", "description": "Target system",
"const": "node", "const": "node",
"type": "string" "type": "string"
},
"test-suite": {
"$ref": "#/common/test-suite"
},
"remote-access-url": {
"$ref": "#/common/remote-access-url"
} }
} }
} }
] ]
}
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment