@lambdatest/smartui-cli 4.0.9 → 4.0.10

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.
Files changed (2) hide show
  1. package/dist/index.cjs +7 -1
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -853,6 +853,8 @@ var env_default = () => {
853
853
  SMARTUI_DO_NOT_USE_CAPTURED_COOKIES,
854
854
  HTTP_PROXY,
855
855
  HTTPS_PROXY,
856
+ SMARTUI_HTTP_PROXY,
857
+ SMARTUI_HTTPS_PROXY,
856
858
  GITHUB_ACTIONS,
857
859
  FIGMA_TOKEN,
858
860
  LT_USERNAME,
@@ -867,6 +869,8 @@ var env_default = () => {
867
869
  SMARTUI_GIT_INFO_FILEPATH,
868
870
  HTTP_PROXY,
869
871
  HTTPS_PROXY,
872
+ SMARTUI_HTTP_PROXY,
873
+ SMARTUI_HTTPS_PROXY,
870
874
  GITHUB_ACTIONS,
871
875
  FIGMA_TOKEN,
872
876
  LT_USERNAME,
@@ -951,7 +955,7 @@ var auth_default = (ctx) => {
951
955
  };
952
956
 
953
957
  // package.json
954
- var version = "4.0.9";
958
+ var version = "4.0.10";
955
959
  var package_default = {
956
960
  name: "@lambdatest/smartui-cli",
957
961
  version,
@@ -1771,6 +1775,8 @@ function processSnapshot(snapshot, ctx) {
1771
1775
  if (!((_b = ctx.browser) == null ? void 0 : _b.isConnected())) {
1772
1776
  if (ctx.env.HTTP_PROXY || ctx.env.HTTPS_PROXY)
1773
1777
  launchOptions.proxy = { server: ctx.env.HTTP_PROXY || ctx.env.HTTPS_PROXY };
1778
+ if (ctx.env.SMARTUI_HTTP_PROXY || ctx.env.SMARTUI_HTTPS_PROXY)
1779
+ launchOptions.proxy = { server: ctx.env.SMARTUI_HTTP_PROXY || ctx.env.SMARTUI_HTTPS_PROXY };
1774
1780
  ctx.browser = yield test.chromium.launch(launchOptions);
1775
1781
  ctx.log.debug(`Chromium launched with options ${JSON.stringify(launchOptions)}`);
1776
1782
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdatest/smartui-cli",
3
- "version": "4.0.9",
3
+ "version": "4.0.10",
4
4
  "description": "A command line interface (CLI) to run SmartUI tests on LambdaTest",
5
5
  "files": [
6
6
  "dist/**/*"