@lambdatest/smartui-cli 4.1.18 → 4.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +8 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1877,7 +1877,7 @@ var authExec_default = (ctx) => {
|
|
|
1877
1877
|
};
|
|
1878
1878
|
|
|
1879
1879
|
// package.json
|
|
1880
|
-
var version = "4.1.
|
|
1880
|
+
var version = "4.1.19";
|
|
1881
1881
|
var package_default = {
|
|
1882
1882
|
name: "@lambdatest/smartui-cli",
|
|
1883
1883
|
version,
|
|
@@ -2109,7 +2109,7 @@ var httpClient = class {
|
|
|
2109
2109
|
}
|
|
2110
2110
|
});
|
|
2111
2111
|
}
|
|
2112
|
-
createBuild(git, config, log2, buildName, isStartExec, smartGit, markBaseline, baselineBuild) {
|
|
2112
|
+
createBuild(git, config, log2, buildName, isStartExec, smartGit, markBaseline, baselineBuild, scheduled) {
|
|
2113
2113
|
return this.request({
|
|
2114
2114
|
url: "/build",
|
|
2115
2115
|
method: "POST",
|
|
@@ -2121,7 +2121,8 @@ var httpClient = class {
|
|
|
2121
2121
|
packageVersion: package_default.version,
|
|
2122
2122
|
smartGit,
|
|
2123
2123
|
markBaseline,
|
|
2124
|
-
baselineBuild
|
|
2124
|
+
baselineBuild,
|
|
2125
|
+
scheduled
|
|
2125
2126
|
}
|
|
2126
2127
|
}, log2);
|
|
2127
2128
|
}
|
|
@@ -2587,6 +2588,7 @@ var ctx_default = (options) => {
|
|
|
2587
2588
|
force: options.force ? true : false,
|
|
2588
2589
|
markBaseline: options.markBaseline ? true : false,
|
|
2589
2590
|
buildName: options.buildName || "",
|
|
2591
|
+
scheduled: options.scheduled || "",
|
|
2590
2592
|
port,
|
|
2591
2593
|
ignoreResolutions: resolutionOff,
|
|
2592
2594
|
fileExtension: extensionFiles,
|
|
@@ -2718,7 +2720,7 @@ var createBuildExec_default = (ctx) => {
|
|
|
2718
2720
|
updateLogContext({ task: "createBuild" });
|
|
2719
2721
|
try {
|
|
2720
2722
|
if (ctx2.authenticatedInitially && !ctx2.config.skipBuildCreation) {
|
|
2721
|
-
let resp = yield ctx2.client.createBuild(ctx2.git, ctx2.config, ctx2.log, ctx2.build.name, ctx2.isStartExec, ctx2.env.SMART_GIT, ctx2.options.markBaseline, ctx2.options.baselineBuild);
|
|
2723
|
+
let resp = yield ctx2.client.createBuild(ctx2.git, ctx2.config, ctx2.log, ctx2.build.name, ctx2.isStartExec, ctx2.env.SMART_GIT, ctx2.options.markBaseline, ctx2.options.baselineBuild, ctx2.options.scheduled);
|
|
2722
2724
|
if (resp && resp.data && resp.data.buildId) {
|
|
2723
2725
|
ctx2.build = {
|
|
2724
2726
|
id: resp.data.buildId,
|
|
@@ -3996,7 +3998,7 @@ var startTunnel_default = (ctx) => {
|
|
|
3996
3998
|
|
|
3997
3999
|
// src/commander/exec.ts
|
|
3998
4000
|
var command = new commander.Command();
|
|
3999
|
-
command.name("exec").description("Run test commands around SmartUI").argument("<command...>", "Command supplied for running tests").option("-P, --port <number>", "Port number for the server").option("--fetch-results [filename]", "Fetch results and optionally specify an output file, e.g., <filename>.json").option("--buildName <string>", "Specify the build name").option("--userName <string>", "Specify the LT username").option("--accessKey <string>", "Specify the LT accesskey").action(function(execCommand, _, command9) {
|
|
4001
|
+
command.name("exec").description("Run test commands around SmartUI").argument("<command...>", "Command supplied for running tests").option("-P, --port <number>", "Port number for the server").option("--fetch-results [filename]", "Fetch results and optionally specify an output file, e.g., <filename>.json").option("--buildName <string>", "Specify the build name").option("--scheduled <string>", "Specify the schedule ID").option("--userName <string>", "Specify the LT username").option("--accessKey <string>", "Specify the LT accesskey").action(function(execCommand, _, command9) {
|
|
4000
4002
|
return __async(this, null, function* () {
|
|
4001
4003
|
var _a;
|
|
4002
4004
|
const options = command9.optsWithGlobals();
|
|
@@ -4227,7 +4229,7 @@ var createBuild_default = (ctx) => {
|
|
|
4227
4229
|
task: (ctx2, task) => __async(void 0, null, function* () {
|
|
4228
4230
|
updateLogContext({ task: "createBuild" });
|
|
4229
4231
|
try {
|
|
4230
|
-
let resp = yield ctx2.client.createBuild(ctx2.git, ctx2.config, ctx2.log, ctx2.build.name, ctx2.isStartExec, ctx2.env.SMART_GIT, ctx2.options.markBaseline, ctx2.options.baselineBuild);
|
|
4232
|
+
let resp = yield ctx2.client.createBuild(ctx2.git, ctx2.config, ctx2.log, ctx2.build.name, ctx2.isStartExec, ctx2.env.SMART_GIT, ctx2.options.markBaseline, ctx2.options.baselineBuild, ctx2.options.scheduled);
|
|
4231
4233
|
if (resp && resp.data && resp.data.buildId) {
|
|
4232
4234
|
ctx2.build = {
|
|
4233
4235
|
id: resp.data.buildId,
|