Skip to content

Commit 541c4e5

Browse files
Merge pull request #166 from LambdaTest/dev
2.5.3
2 parents 40520e1 + c194269 commit 541c4e5

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

commands/utils/batch/batch_runner.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@ function run_test(payload, env = "prod", rejectUnauthorized) {
6464
);
6565
console.log(
6666
`Uploaded tests successfully `,
67-
responseData["value"]["message"]
67+
responseData["value"]["message"].substr(
68+
0,
69+
responseData["value"]["message"].length -
70+
(session_id.length + 1)
71+
)
6872
);
6973
resolve(session_id);
7074
}

commands/utils/constants.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,8 @@ module.exports = {
4545
REPORT_URL:
4646
"https://stage-api.lambdatest.com/automation/api/v1/cypress/artefacts/test/",
4747
},
48+
4849
stage_new: {
49-
INTEGRATION_BASE_URL: "https://api.lambdatestinternal.com/liis",
50-
BUILD_BASE_URL:
51-
"https://api.lambdatestinternal.com/automation/api/v1/builds/",
52-
BUILD_STOP_URL:
53-
"https://api.lambdatestinternal.com/api/v1/test/stop?sessionId=",
54-
SESSION_URL:
55-
"https://api.lambdatestinternal.com/automation/api/v1/sessions?limit=200&session_id=",
56-
REPORT_URL:
57-
"https://api.lambdatestinternal.com/automation/api/v1/cypress/artefacts/test/",
58-
},
59-
stage_new1: {
6050
INTEGRATION_BASE_URL: "https://prestage-api.lambdatest.com/liis",
6151
BUILD_BASE_URL:
6252
"https://prestage-api.lambdatest.com/automation/api/v1/builds/",

commands/utils/uploader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function get_signed_url(lt_config, prefix, env = "prod") {
3333
if (responseData && responseData["error"]) {
3434
reject(responseData["error"]);
3535
} else {
36-
reject("error", responseData);
36+
reject(responseData);
3737
}
3838
} else {
3939
resolve(responseData);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lambdatest-cypress-cli",
3-
"version": "2.5.2",
3+
"version": "2.5.3",
44
"description": "The lambdatest-cypress-cli is LambdaTest's command-line interface (CLI) aimed to help you run your Cypress tests on LambdaTest platform.",
55
"homepage": "https://github.com/LambdaTest/lambdatest-cypress-cli",
66
"author": "LambdaTest <keys@lambdatest.com>",

0 commit comments

Comments
 (0)