Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
slapos
Commits
3ed2e7fe
Commit
3ed2e7fe
authored
Nov 12, 2018
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
9c4d1dd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
87 deletions
+71
-87
software/jstestnode/instance-jstestnode-input-schema.json
software/jstestnode/instance-jstestnode-input-schema.json
+71
-87
No files found.
software/jstestnode/instance-jstestnode-input-schema.json
View file @
3ed2e7fe
...
...
@@ -2,7 +2,7 @@
"$schema"
:
"http://json-schema.org/draft-07/schema#"
,
"description"
:
"Parameters to instantiate JSTestNode"
,
"additionalProperties"
:
true
,
"
common
"
:
{
"
properties
"
:
{
"test-suite"
:
{
"description"
:
"The test suite to run"
,
"type"
:
"string"
,
...
...
@@ -17,100 +17,84 @@
"format"
:
"uri"
,
"default"
:
"(the web server started by this instance)"
,
"example"
:
"https://softinst1234.host.vifib.net/"
}
},
"oneOf"
:
[
{
"description"
:
"Configuration for Selenium server"
,
"type"
:
"object"
,
"additionalProperties"
:
false
,
"required"
:
[
"desired-capabilities"
,
"server-url"
,
"target"
],
"properties"
:
{
"target"
:
{
"description"
:
"Target system"
,
"type"
:
"string"
,
"const"
:
"selenium-server"
},
"test-suite"
:
{
"$ref"
:
"#/common/test-suite"
},
"remote-access-url"
:
{
"$ref"
:
"#/common/remote-access-url"
},
"server-url"
:
{
"description"
:
"URL of the selenium server"
,
"type"
:
"string"
,
"format"
:
"uri"
},
"verify-server-certificate"
:
{
"description"
:
"Verify the SSL/TLS Certificats of the selenium server when using HTTPS"
,
"type"
:
"boolean"
,
"default"
:
true
},
"server-ca-certificate"
:
{
"description"
:
"PEM encoded bundle of CA Certificates to verify the SSL/TLS Certificate of the selenium server when using HTTPS"
,
"type"
:
"string"
,
"default"
:
"root certificates from http://certifi.io/en/latest/"
},
"desired-capabilities"
:
{
"description"
:
"Desired browser capabilities"
,
},
"test-runner"
:
{
"oneOf"
:
[
{
"type"
:
"object"
,
"description"
:
"Configuration for Selenium server"
,
"additionalProperties"
:
false
,
"required"
:
[
"browserName"
"desired-capabilities"
,
"server-url"
,
"target"
],
"type"
:
"object"
,
"properties"
:
{
"browserName"
:
{
"description"
:
"Name of the browser being used, for example firefox, chrome"
,
"type"
:
"string"
"target"
:
{
"description"
:
"Target system"
,
"type"
:
"string"
,
"const"
:
"selenium-server"
},
"version"
:
{
"description"
:
"The browser version"
,
"type"
:
"string"
"server-url"
:
{
"description"
:
"URL of the selenium server"
,
"type"
:
"string"
,
"format"
:
"uri"
},
"verify-server-certificate"
:
{
"description"
:
"Verify the SSL/TLS Certificats of the selenium server when using HTTPS"
,
"type"
:
"boolean"
,
"default"
:
true
},
"server-ca-certificate"
:
{
"description"
:
"PEM encoded bundle of CA Certificates to verify the SSL/TLS Certificate of the selenium server when using HTTPS"
,
"type"
:
"string"
,
"default"
:
"root certificates from http://certifi.io/en/latest/"
},
"desired-capabilities"
:
{
"description"
:
"Desired browser capabilities"
,
"required"
:
[
"browserName"
],
"type"
:
"object"
,
"properties"
:
{
"browserName"
:
{
"description"
:
"Name of the browser being used, for example firefox, chrome"
,
"type"
:
"string"
},
"version"
:
{
"description"
:
"The browser version"
,
"type"
:
"string"
}
}
}
}
}
}
},
{
"description"
:
"Configuration for Firefox"
,
"type"
:
"object"
,
"additionalProperties"
:
false
,
"properties"
:
{
"target"
:
{
"description"
:
"Target system"
,
"const"
:
"firefox"
,
"type"
:
"string"
,
"default"
:
"firefox"
},
"test-suite"
:
{
"$ref"
:
"#/common/test-suite"
},
"remote-access-url"
:
{
"$ref"
:
"#/common/remote-access-url"
}
}
},
{
"description"
:
"Configuration for NodeJS"
,
"type"
:
"object"
,
"additionalProperties"
:
false
,
"properties"
:
{
"target"
:
{
"description"
:
"Target system"
,
"const"
:
"node"
,
"type"
:
"string"
},
"test-suite"
:
{
"$ref"
:
"#/common/test-suite"
{
"type"
:
"object"
,
"description"
:
"Configuration for Firefox"
,
"additionalProperties"
:
false
,
"properties"
:
{
"target"
:
{
"description"
:
"Target system"
,
"const"
:
"firefox"
,
"type"
:
"string"
,
"default"
:
"firefox"
}
}
},
"remote-access-url"
:
{
"$ref"
:
"#/common/remote-access-url"
{
"type"
:
"object"
,
"description"
:
"Configuration for NodeJS"
,
"additionalProperties"
:
false
,
"properties"
:
{
"target"
:
{
"description"
:
"Target system"
,
"const"
:
"node"
,
"type"
:
"string"
}
}
}
}
]
}
]
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment