Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

saucelabs

Package Overview
Dependencies
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

saucelabs - npm Package Compare versions

Comparing version 4.7.0 to 4.7.1

192

apis/autonomiq.json

@@ -265,2 +265,38 @@ {

},
"/v1/projects/{projectId}/testcases/{testcaseId}/updateLveAndRecoverSteps": {
"post": {
"summary": "It updates test steps to a test case",
"tags": [],
"operationId": "updateLveAndRecoverSteps",
"deprecated": false,
"produces": [
"application/json"
],
"parameters": [
{
"name": "projectId",
"in": "path",
"type": "string",
"description": "Project Id",
"required": true
},
{
"name": "testcaseId",
"in": "path",
"type": "string",
"description": "Testcase Id",
"required": true
},
{
"name": "steps",
"in": "body",
"required": true,
"description": "",
"schema": {
"$ref": "#/definitions/UpdatedTestSteps"
}
}
]
}
},
"/v1/projects/{projectId}/execute": {

@@ -440,2 +476,66 @@ "post": {

},
"/testCases/getTestCaseInfo/{testcaseId}/{stepId}": {
"get": {
"summary": "Get test steps for a specific test case",
"tags": [
"Test Suite"
],
"operationId": "getTestSteps",
"deprecated": false,
"produces": [
"application/json"
],
"parameters": [
{
"name": "testcaseId",
"in": "path",
"type": "string",
"description": "TestCase Id",
"required": true
},
{
"name": "stepId",
"in": "path",
"type": "string",
"description": "Step Id",
"required": true
}
],
"responses": {
"description": "it returns test steps",
"schema": {
"$ref": "#/definitions/TestSteps"
}
}
}
},
"/blocks/getAll/{accountId}/{blockId}": {
"get": {
"summary": "Get test steps for a specific test case block",
"tags": [
"Test Suite"
],
"operationId": "getTestStepBlocks",
"deprecated": false,
"produces": [
"application/json"
],
"parameters": [
{
"name": "accountId",
"in": "path",
"type": "string",
"description": "Account Id",
"required": true
},
{
"name": "blockId",
"in": "path",
"type": "string",
"description": "Block Id",
"required": true
}
]
}
},
"/v1/downloadFile": {

@@ -564,2 +664,68 @@ "get": {

},
"Step": {
"title": "Step",
"example": {
"columnName": "",
"data": "https://webdriver.io",
"expectedResults": "",
"instr": "Navigate website",
"stepId": "",
"xpath": ""
},
"type": "object",
"properties": {
"columnName": {
"type": "string"
},
"data": {
"type": "string"
},
"expectedResults": {
"type": "string"
},
"instr": {
"type": "string"
},
"stepId": {
"type": "string"
},
"xpath": {
"type": "string"
}
},
"required": [
"instr",
"data"
]
},
"UpdatedTestSteps": {
"title": "UpdatedTestSteps",
"example": {
"brokenDownSteps": [],
"isCreationMode": false,
"recoverSteps": []
},
"type": "object",
"properties": {
"brokenDownSteps": {
"type": "array",
"items": {
"$ref": "#/definitions/Step"
}
},
"isCreationMode": {
"type": "boolean"
},
"recoverSteps": {
"type": "array",
"items": {
"$ref": "#/definitions/Step"
}
}
},
"required": [
"brokenDownSteps",
"recoverSteps"
]
},
"GetTestsuitesByProject": {

@@ -1323,2 +1489,28 @@ "title": "GetTestsuitesByProject",

},
"TestSteps": {
"title": "TestSteps",
"example": [
{
"case_id": 511,
"orig_steps": "[]",
"recover_steps": "[]",
"test_steps": "[]"
}
],
"type": "object",
"properties": {
"case_id": {
"type": "integer"
},
"orig_steps": {
"type": "string"
},
"recover_steps": {
"type": "string"
},
"test_steps": {
"type": "integer"
}
}
},
"GetExecutions": {

@@ -1325,0 +1517,0 @@ "title": "GetExecutions",

155

docs/interface.md

@@ -18,3 +18,3 @@ SauceLabs Interface

<td>
<b>GET</b> <code>/v1.1/users/{username}/concurrency</code><br>
<b>GET</b> <code>/v1.2/users/{username}/concurrency</code><br>
No description available.

@@ -48,3 +48,3 @@ <h3>Example:</h3>

<br><h4>Options</h4>
<ul> <li><b>subaccounts</b>: Include subaccounts in list of jobs</li> <li><b>limit</b>: Number of results to return</li> </ul> </td>
<ul> <li><b>limit</b>: Number of results to return</li> <li><b>subaccounts</b>: Include subaccounts in list of jobs</li> </ul> </td>
</tr>

@@ -58,3 +58,3 @@ <tr>

<br><h4>Options</h4>
<ul> <li><b>auto_only</b>: No description available.</li> <li><b>to</b>: receive jobs until specific timestamp</li> <li><b>from</b>: receive jobs beginning of a specific timestamp</li> <li><b>owner</b>: username of owner of the jobs</li> <li><b>owner_type</b>: owner type for jobs</li> <li><b>name</b>: name of the job</li> <li><b>limit</b>: Number of results to return</li> <li><b>manual_only</b>: Only return manual jobs</li> <li><b>full</b>: Should the return result contain everything or just the basics</li> <li><b>subaccounts</b>: Include subaccounts in list of jobs</li> </ul> </td>
<ul> <li><b>limit</b>: Number of results to return</li> <li><b>subaccounts</b>: Include subaccounts in list of jobs</li> <li><b>full</b>: Should the return result contain everything or just the basics</li> <li><b>manual_only</b>: Only return manual jobs</li> <li><b>auto_only</b>: No description available.</li> <li><b>name</b>: name of the job</li> <li><b>owner_type</b>: owner type for jobs</li> <li><b>owner</b>: username of owner of the jobs</li> <li><b>from</b>: receive jobs beginning of a specific timestamp</li> <li><b>to</b>: receive jobs until specific timestamp</li> </ul> </td>
</tr>

@@ -284,3 +284,3 @@ <tr>

<h3>Example:</h3>
<code>api.downloadJobAsset(id, assetName, { ...options })</code>
<code>api.downloadJobAsset(id, filename, { ...options })</code>
<br><h4>Options</h4>

@@ -296,3 +296,3 @@ <ul> <li><b>filepath</b>: file path to store the asset at</li> </ul> </td>

<br><h4>Options</h4>
<ul> <li><b>body</b>: No description available.</li> <li><b>App-Active</b>: If true makes uploaded application active one</li> <li><b>App-DisplayName</b>: Your custom display name</li> <li><b>App-Identifier</b>: Your custom unique identifier for your app</li> <li><b>App-Type</b>: Application type</li> </ul> </td>
<ul> <li><b>App-Type</b>: Application type</li> <li><b>App-Identifier</b>: Your custom unique identifier for your app</li> <li><b>App-DisplayName</b>: Your custom display name</li> <li><b>App-Active</b>: If true makes uploaded application active one</li> <li><b>body</b>: No description available.</li> </ul> </td>
</tr>

@@ -340,3 +340,3 @@ <tr>

<br><h4>Options</h4>
<ul> <li><b>body</b>: No description available.</li> <li><b>appId</b>: The ID of the app version you wish to test</li> </ul> </td>
<ul> <li><b>appId</b>: The ID of the app version you wish to test</li> <li><b>body</b>: No description available.</li> </ul> </td>
</tr>

@@ -410,3 +410,3 @@ <tr>

<br><h4>Options</h4>
<ul> <li><b>limit</b>: Max number of results per page</li> <li><b>offset</b>: Offset for pagination</li> <li><b>lastDays</b>: Number of days to report</li> <li><b>userId</b>: Your username.</li> </ul> </td>
<ul> <li><b>userId</b>: Your username.</li> <li><b>lastDays</b>: Number of days to report</li> <li><b>offset</b>: Offset for pagination</li> <li><b>limit</b>: Max number of results per page</li> </ul> </td>
</tr>

@@ -472,3 +472,3 @@ <tr>

<br><h4>Options</h4>
<ul> <li><b>body</b>: No description available.</li> <li><b>appId</b>: The ID of the app version you wish to test</li> </ul> </td>
<ul> <li><b>appId</b>: The ID of the app version you wish to test</li> <li><b>body</b>: No description available.</li> </ul> </td>
</tr>

@@ -632,3 +632,3 @@ <tr>

<br><h4>Options</h4>
<ul> <li><b>regime_end</b>: No description available.</li> <li><b>regime_start</b>: No description available.</li> </ul> </td>
<ul> <li><b>regime_start</b>: No description available.</li> <li><b>regime_end</b>: No description available.</li> </ul> </td>
</tr>

@@ -701,2 +701,139 @@ <tr>

</tr>
<tr>
<td>
<b>PUT</b> <code>/jobs/{jobId}/assets</code><br>
No description available.
<h3>Example:</h3>
<code>api.uploadJobAssets(jobId, { ...options })</code>
<br><h4>Options</h4>
<ul> <li><b>files</b>: asset to upload and attach to your job</li> </ul> </td>
</tr>
<tr>
<td>
<b>POST</b> <code>/reports</code><br>
No description available.
<h3>Example:</h3>
<code>api.createJob(parameters)</code>
</td>
</tr>
<tr>
<td>
<b>POST</b> <code>/</code><br>
create test result job via data store
<h3>Example:</h3>
<code>api.createResultJob(parameters)</code>
</td>
</tr>
<tr>
<td>
<b>GET</b> <code>/v1/getprojects</code><br>
No description available.
<h3>Example:</h3>
<code>api.getProjects()</code>
</td>
</tr>
<tr>
<td>
<b>GET</b> <code>/v1/projects/{projectId}/getproject</code><br>
No description available.
<h3>Example:</h3>
<code>api.getProject(projectId)</code>
</td>
</tr>
<tr>
<td>
<b>GET</b> <code>/v1/projects/{projectName}/getprojectbyname</code><br>
No description available.
<h3>Example:</h3>
<code>api.getProjectByName(projectName)</code>
</td>
</tr>
<tr>
<td>
<b>GET</b> <code>/testSuites/{accountId}/{projectId}/getTestSuites</code><br>
No description available.
<h3>Example:</h3>
<code>api.getTestsuitesByProjects(projectId, accountId)</code>
</td>
</tr>
<tr>
<td>
<b>POST</b> <code>/v1/projects/{projectId}/testcases/{testcaseId}/updateLveAndRecoverSteps</code><br>
No description available.
<h3>Example:</h3>
<code>api.updateLveAndRecoverSteps(projectId, testcaseId, steps)</code>
</td>
</tr>
<tr>
<td>
<b>POST</b> <code>/v1/projects/{projectId}/execute</code><br>
No description available.
<h3>Example:</h3>
<code>api.executeTestsuiteTest(Body, projectId)</code>
</td>
</tr>
<tr>
<td>
<b>POST</b> <code>/v1/testsuite/{testSuiteId}/execute</code><br>
No description available.
<h3>Example:</h3>
<code>api.executeTestsuite(testSuiteId, Body)</code>
</td>
</tr>
<tr>
<td>
<b>POST</b> <code>/v1/auth</code><br>
No description available.
<h3>Example:</h3>
<code>api.getAuth(Body)</code>
</td>
</tr>
<tr>
<td>
<b>GET</b> <code>/v1/jobs/{jobId}/get_status</code><br>
No description available.
<h3>Example:</h3>
<code>api.getExecutionStatus(jobId)</code>
</td>
</tr>
<tr>
<td>
<b>GET</b> <code>/v1/projects/{projectId}/testcases</code><br>
No description available.
<h3>Example:</h3>
<code>api.getTestcases(projectId)</code>
</td>
</tr>
<tr>
<td>
<b>GET</b> <code>/testCases/getTestCaseInfo/{testcaseId}/{stepId}</code><br>
No description available.
<h3>Example:</h3>
<code>api.getTestSteps(testcaseId, stepId)</code>
</td>
</tr>
<tr>
<td>
<b>GET</b> <code>/blocks/getAll/{accountId}/{blockId}</code><br>
No description available.
<h3>Example:</h3>
<code>api.getTestStepBlocks(accountId, blockId)</code>
</td>
</tr>
<tr>
<td>
<b>GET</b> <code>/v1/downloadFile</code><br>
No description available.
<h3>Example:</h3>
<code>api.downloadReport(fileURL)</code>
</td>
</tr>
<tr>
<td>
<b>GET</b> <code>/testScriptExecutions/{executionId}/executions</code><br>
No description available.
<h3>Example:</h3>
<code>api.getExecutions(executionId)</code>
</td>
</tr>
</tbody></table>

2

package.json
{
"name": "saucelabs",
"version": "4.7.0",
"version": "4.7.1",
"author": "Christian Bromann <christian@saucelabs.com>",

@@ -5,0 +5,0 @@ "description": "A wrapper around Sauce Labs REST API",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc