Skip to content

Commit c3a8256

Browse files
Japneet Singh ChawlaJapneet Singh Chawla
authored andcommitted
build url changes
1 parent 62250b6 commit c3a8256

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
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);

0 commit comments

Comments
 (0)