saucelabs
Advanced tools
Comparing version 4.7.2 to 4.7.3
@@ -150,13 +150,13 @@ { | ||
{ | ||
"name": "projectId", | ||
"name": "accountId", | ||
"in": "path", | ||
"type": "string", | ||
"description": "Project Id", | ||
"description": "Account Id", | ||
"required": true | ||
}, | ||
{ | ||
"name": "accountId", | ||
"name": "projectId", | ||
"in": "path", | ||
"type": "string", | ||
"description": "Account Id", | ||
"description": "Project Id", | ||
"required": true | ||
@@ -436,2 +436,60 @@ } | ||
}, | ||
"/testCases/associate": { | ||
"post": { | ||
"summary": "Associates test cases with test suites.", | ||
"tags": [], | ||
"operationId": "associateTestcases", | ||
"deprecated": false, | ||
"produces": [ | ||
"application/json" | ||
], | ||
"parameters": [ | ||
{ | ||
"name": "Body", | ||
"in": "body", | ||
"required": true, | ||
"description": "", | ||
"schema": { | ||
"$ref": "#/definitions/TestcaseAssociations" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"/testCases/create/{accountId}/{projectId}": { | ||
"post": { | ||
"summary": "Associates test cases with test suites.", | ||
"tags": [], | ||
"operationId": "createTestcase", | ||
"deprecated": false, | ||
"produces": [ | ||
"application/json" | ||
], | ||
"parameters": [ | ||
{ | ||
"name": "accountId", | ||
"in": "path", | ||
"type": "string", | ||
"description": "Account Id", | ||
"required": true | ||
}, | ||
{ | ||
"name": "projectId", | ||
"in": "path", | ||
"type": "string", | ||
"description": "Project Id", | ||
"required": true | ||
}, | ||
{ | ||
"name": "Body", | ||
"in": "body", | ||
"required": true, | ||
"description": "", | ||
"schema": { | ||
"$ref": "#/definitions/NewTestcase" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"/v1/testsuite/{testSuiteId}/execute": { | ||
@@ -897,2 +955,60 @@ "post": { | ||
}, | ||
"TestcaseAssociations": { | ||
"title": "TestcaseAssociations", | ||
"example": { | ||
"case_ids": [510, 511], | ||
"suite_id": 52 | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"case_ids": { | ||
"type": "array", | ||
"items": { | ||
"type": "number" | ||
} | ||
}, | ||
"suite_id": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"case_ids", | ||
"suite_id" | ||
] | ||
}, | ||
"NewTestcase": { | ||
"title": "NewTestcase", | ||
"example": { | ||
"case_name": "New Test Case", | ||
"desc": "Some test case description", | ||
"test_steps": [{ | ||
"columnName": "", | ||
"data": "https://webdriver.io", | ||
"instr": "open website", | ||
"recorderData": "", | ||
"stepId": "", | ||
"xpath": "" | ||
}] | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"case_name": { | ||
"type": "string" | ||
}, | ||
"desc": { | ||
"type": "string" | ||
}, | ||
"case_ids": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/Step" | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"case_name", | ||
"desc", | ||
"test_steps" | ||
] | ||
}, | ||
"GetTestsuitesByProject": { | ||
@@ -899,0 +1015,0 @@ "title": "GetTestsuitesByProject", |
{ | ||
"name": "saucelabs", | ||
"version": "4.7.2", | ||
"version": "4.7.3", | ||
"author": "Christian Bromann <christian@saucelabs.com>", | ||
@@ -5,0 +5,0 @@ "description": "A wrapper around Sauce Labs REST API", |
443169
14262